Automatic update from web-platform-tests Always constraint to column-height - also nowrap+balancing. There was an incorrect requirement for column wrapping when calculating the block-size of balanced columns. Wrapping or not, if column-height is set, honor that height. Bug: 479541259 Change-Id: Iefd3afe7d955aeb79bffecc0af25d73a423edfb5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7544517 Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/main@{#1579388} -- wpt-commits: 74cd09d59a0ce865e48d1d6e5149f1741d81f9c0 wpt-pr: 57565
14 lines
756 B
HTML
14 lines
756 B
HTML
<!DOCTYPE html>
|
|
<title>Non-wrapping, balanced, with column-height</title>
|
|
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
|
<link rel="help" href="https://issues.chromium.org/issues/479541259">
|
|
<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-wrap:nowrap; column-fill:balance; gap:0; width:50%; column-height:100px;">
|
|
<div style="height:400px; background:green;"></div>
|
|
</div>
|
|
</div>
|