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