fune/testing/web-platform/tests/css/css-layout-api/multicol-break-before-crash.https.html
Morten Stenshorne 2bfa10ed03 Bug 1733185 [wpt PR 30987] - Treat custom layout objects as monolithic., a=testonly
Automatic update from web-platform-tests
Treat custom layout objects as monolithic.

Custom layout block fragmentation isn't implemented, so just avoid it.

This fixes
external/wpt/css/css-layout-api/multicol-child-crash.https.html when
LayoutNGBlockFragmentation is enabled.

Also update a DCHECK to allow breaks *before* a custom layout object,
and added a test that would otherwise crash with
LayoutNGBlockFragmentation enabled.

Bug: 829028
Change-Id: I5a433a5214e5e435a844e3cb7dbf1d427d846b5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3186453
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#925472}

--

wpt-commits: bc133a7d8d0a03cb1fc5e38c63b6a84c4f5ee60f
wpt-pr: 30987
2021-10-04 00:20:42 +00:00

7 lines
375 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-layout-api-1/#breaking-and-fragmentation">
<div style="columns:3; column-fill:auto; height:100px;">
<div style="height:1px;"></div>
<div style="display:layout(child-layout); break-before:column; height:200px;"></div>
</div>