Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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}
- Loading branch information