Closed Bug 1491407 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 13009 - [LayoutNG] Fix %-resolution for ancestors of table cells.

Categories

(Core :: CSS Parsing and Computation, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 13009 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/13009 Details from upstream follow. Ian Kilpatrick <ikilpatrick@chromium.org> wrote: > [LayoutNG] Fix %-resolution for ancestors of table cells. > > This patch does a few things: > 1) Introduces the concept of a "ReplacedPercentageResolutionSize". > This is needed as replaced descandants of table cells have a > different percentage resolution size than normal descendants. > > 2) This adds a bunch of special cases for how percentage resolution > sizes are handled for table cells. > > 3) Adds the "scrollable" children of table cell quirk. This is during > the "measure" phase, scrollable children contribute nothing to the > size of the cell. > > 4) Adds the "box-sizing: border-box" table cell quirk. That is > percentage children, during the layout phase, are sized as if they > have box-sizing: border-box on them. > > It was easier to perform all these changes as a single monolithic patch > to ensure correct behaviour. > > Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng > Change-Id: I881a21662bfdf6b4ab7a0f62df6970143008ebca > Reviewed-on: https://chromium-review.googlesource.com/1207890 > WPT-Export-Revision: 3d23e9d8aff326d939172f2d4d04ae0d91dde37b
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/58644dc6d5e5 [wpt PR 13009] - [LayoutNG] Fix %-resolution for ancestors of table cells., a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.