Files
firefox/testing/web-platform/tests/css/css-sizing/support
Ian Kilpatrick b7b5990c38 Bug 1529153 [wpt PR 15467] - [LayoutNG] Force relayout when constraint spaces change., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Force relayout when constraint spaces change.

This patch reuses a lot of the logic we currently have to skip layout
in LayoutNGMixin::CachedLayoutResult.
It also moves this logic from ng_length_utils.cc to ng_layout_utils.cc

We also make sure that if the constraint spaces don't match we force
a layout of the child.

Previously we were only performing a LayoutIfNeeded in this case, and
as a result children not respecting the available size, etc.

Bug: 635619, 928672
Change-Id: I36e248f1a7413f5becd2b39bdd2db25ca2843559
Reviewed-on: https://chromium-review.googlesource.com/c/1476263
Commit-Queue: Ian Kilpatrick <[email protected]>
Reviewed-by: Christian Biesinger <[email protected]>
Reviewed-by: Morten Stenshorne <[email protected]>
Cr-Commit-Position: refs/heads/master@{#633839}

--

wpt-commits: ee83714673e1e39f982c0fe901818c3b20341e1a
wpt-pr: 15467
2019-04-01 14:42:14 +01:00
..