Files
firefox/testing/web-platform/tests/css/css-layout-api/support
Ian Kilpatrick d46c300e55 Bug 1493019 [wpt PR 13124] - [css-layout-api] Adds ability to specify percentage{Inline,Block}Size., a=testonly
Automatic update from web-platform-tests[css-layout-api] Adds ability to specify percentage{Inline,Block}Size.

This allows developers to specify the size which percentages in the
block (wrt child writing mode) direction should be resolved against.
Currently inline percentages still resolve against the available
inline-size.

This adds a "OverrideContainingBlockPercentageResolutionLogicalHeight"
field on layout box, which both the logic for
LayoutBox::ComputePercenatgeLogicalHeight and
LayoutBox::ComputeReplacedLogicalHeight use.

They follow similar logic to LayoutGrid, in that in quirks mode,
percentages are treated as indefinite (doesn't "walk-up" the tree).

Change-Id: I256381687d2eed7693a908074f7f5032d5963e2b
Reviewed-on: https://chromium-review.googlesource.com/1232206
Commit-Queue: Ian Kilpatrick <[email protected]>
Reviewed-by: Aleks Totic <[email protected]>
Cr-Commit-Position: refs/heads/master@{#593208}

--

wpt-commits: 159da2f8ef7c8259c7fc013cbfea2314e2dfdeeb
wpt-pr: 13124
2018-09-27 09:56:00 +00:00
..