Bug 1755597 [wpt PR 32853] - [GridFragmentation] Propagate child break values follow...
commite9f21e3c838aaed226a7e0ea925e0b37eb775349
authorAlison Maher <almaher@microsoft.com>
Fri, 18 Mar 2022 10:21:37 +0000 (18 10:21 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 21 Mar 2022 06:49:53 +0000 (21 06:49 +0000)
tree27e151d7482e33e16a078b6f9a42cc9d38548d49
parent409ddb36182e67125baab9effe974d5ab5407de5
Bug 1755597 [wpt PR 32853] - [GridFragmentation] Propagate child break values follow-up, a=testonly

Automatic update from web-platform-tests
[GridFragmentation] Propagate child break values follow-up

As a follow-up to CL:3451309 and CL:3451161, add a call to
SetShouldPropagateChildBreakValues() in the ConstraintSpaceBuilder
so that if the parent space has this flag set, the child will too.

This means that we are propagating these values on all layout
runs inside a fragmentation context root (even if
SetupSpaceBuilderForFragmentation() isn't called.)

However, this allows us to propagate break values in grid (and flex)
past the immediate child level in the non-fragmenting layout pass.

external/wpt/css/css-break/grid/grid-item-fragmentation-045.html
was updated to add an extra layer of propagation to ensure that
we are correctly propagating past the first child level for grid.

Bug: 614667
Change-Id: Ie7323a565a4183d6cf36d58e33fa6d60029913ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3465477
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#971929}

--

wpt-commits: 38399d93c8af9443fe6dc67b600833ac058e5318
wpt-pr: 32853
testing/web-platform/tests/css/css-break/grid/grid-item-fragmentation-045.html