Automatic update from web-platform-tests Finalize column-height:0 support. Spec resolution here: https://github.com/w3c/csswg-drafts/issues/12787#issuecomment-3530646130 In short: allow column-height:0, so that rows may become 0px tall. The fragmented flow is still guaranteed progress, since a fragmentainer has to accept at least 1px of content, according to https://drafts.csswg.org/css-break/#breaking-rules This was pretty much what we were already doing, but there was a problem before the very first zero-height row, in that we'd consider it to be full even before layout. Bug: 403183884 Change-Id: I5cf64697b0f3e1788fea43f95abfed912a9d571e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7156852 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/main@{#1546150} -- wpt-commits: 119ac9fd841b9e4cd198c5e13576e6707600fdf9 wpt-pr: 56075
13 lines
844 B
HTML
13 lines
844 B
HTML
<!DOCTYPE html>
|
|
<title>column-height: 0</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; columns:2 / 0; padding-bottom:1px; border-bottom:1px solid green; width:100px; gap:49px 0; column-fill:auto; background:red;">
|
|
<div style="height:6px; background:green;"></div>
|
|
<div style="position:absolute; top:1px; left:0; width:100%; height:48px; background:green;"></div>
|
|
<div style="position:absolute; top:50px; left:0; width:100%; height:48px; background:green;"></div>
|
|
</div>
|