Bug 1754583 [wpt PR 32786] - [GridFragmentation] Propagate break values from sub...
commitb98ada247b2dbc51113128e84cf8e6264fd8ac78
authorIan Kilpatrick <ikilpatrick@chromium.org>
Sat, 26 Feb 2022 22:21:49 +0000 (26 22:21 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 7 Mar 2022 14:49:15 +0000 (7 14:49 +0000)
treef3cfb2478c2524f6eecd7df2a31b6d3c979c6e5f
parent656d35ddcde231a6aecece94ff71c2d67c4143cc
Bug 1754583 [wpt PR 32786] - [GridFragmentation] Propagate break values from sub-trees., a=testonly

Automatic update from web-platform-tests
[GridFragmentation] Propagate break values from sub-trees.

This patch builds on:
https://chromium-review.googlesource.com/c/chromium/src/+/3433832

...which introduced a flag to propagate break-before/break-after values
from un-fragmentated subtrees.

This patch sets the flag when we are doing the global placement of
grid-items. During this initial placement we were already reading
NGLayoutResult::InitialBreakBefore, and NGLayoutResult::FinalBreakAfter
correctly.

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

--

wpt-commits: 186026071faac499b208487dfa28ad1b9a14a9cf
wpt-pr: 32786
testing/web-platform/tests/css/css-break/grid/grid-item-fragmentation-044.html [new file with mode: 0644]
testing/web-platform/tests/css/css-break/grid/grid-item-fragmentation-045.html [new file with mode: 0644]