Automatic update from web-platform-tests Add test for column balancing and row wrapping. The spec issue has been resolved: https://github.com/w3c/csswg-drafts/issues/11976#issuecomment-3530659488 This already matches our behavior. I.e. don't let column rows stretch the column lines. Bug: 403183884 Change-Id: I98ff13f336a627a91fc9f4fb4e6959569974c47f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7156853 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/main@{#1546142} -- wpt-commits: bd9e27bda1b48b11e91b4ec826766f2b52066da0 wpt-pr: 56074
25 lines
1.5 KiB
HTML
25 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<title>Column balancing, specified column-height, unused space</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="width:100px; height:100px; background:red;">
|
|
<div style="columns:2; column-height:20px; column-wrap:wrap; gap:5px 0; background:green;">
|
|
<div style="background:red;">
|
|
<div style="break-before:column; height:1px; background:green;"></div>
|
|
<div style="break-before:column; height:1px; background:green;"></div>
|
|
<div style="break-before:column; height:1px; background:green;"></div>
|
|
<div style="break-before:column; height:1px; background:green;"></div>
|
|
<div style="break-before:column; height:1px; background:green;"></div>
|
|
<div style="break-before:column; height:1px; background:green;"></div>
|
|
<div style="break-before:column; height:1px; background:green;"></div>
|
|
<div style="break-before:column; height:1px; background:green;"></div>
|
|
<!-- One more row of columns, so that the multicol container fills the
|
|
final row-gap, which ends at offset 100px. -->
|
|
<div style="break-before:column; height:40px; background:white;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|