mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 11:37:43 -10:00
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