Files
sousa-gecko/testing/web-platform/tests/css/css-multicol/column-height-028.html
T
Morten Stenshorne aa18774378 Bug 2002869 [wpt PR 56330] - Handle column-height correctly in nested block fragmentation., a=testonly
Automatic update from web-platform-tests
Handle column-height correctly in nested block fragmentation.

Behavior resolved here:
https://github.com/w3c/csswg-drafts/issues/11977#issuecomment-3582505348

In short, let column rows behave pretty much as if they have
break-inside:avoid set.

Bug: 445971864, 403183884
Change-Id: Iecf283741fb32ddef30b0e8f0ebecb92deea1afe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7208938
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1551192}

--

wpt-commits: cb6907a22b2454b7e0def6ede8fa23f7a2c2080b
wpt-pr: 56330
2025-11-29 02:50:34 +00:00

18 lines
1.1 KiB
HTML

<!DOCTYPE html>
<title>column-height and column-wrap in inner multicol, nested multicol, room for three rows and then some</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-multicol-2/#ch">
<link rel="help" href="https://drafts.csswg.org/css-multicol-2/#cwr">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="position:relative; width:100px; height:100px; background:red;">
<div style="columns:2; column-fill:auto; height:100px; gap:0;">
<div style="columns:2; column-fill:auto; column-height:20px; column-wrap:wrap; gap:10px 0;">
<div style="height:240px; background:green;"></div>
</div>
</div>
<div style="position:absolute; top:20px; left:0; width:100px; height:10px; background:green;"></div>
<div style="position:absolute; top:50px; left:0; width:100px; height:10px; background:green;"></div>
<div style="position:absolute; top:80px; left:0; width:100px; height:20px; background:green;"></div>
</div>