| Summary: | Don't let intrinsic padding skew pagination struts on table cells | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Tables | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Ahmad Saleem
2023-02-23 09:07:13 PST
Figured out:
if (cell->cellWidthChanged())
cell->clearIntrinsicPadding();
____
It leads to Safari match print output in following with Chrome Canary 112 but seems to be broken behavior IMO:
Test Case - https://jsfiddle.net/m0vwngk2/show
Do we need to fix this? Would appreciate any input. Thanks!
PR attempt - https://github.com/WebKit/WebKit/pull/12391 Test Locally on WebKit TOT - now it passes both test, might do PR again. |