blob: 8e9515c4b6c0f85e8fe7635e207f2f67cb7283b9 [file] [log] [blame]
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-break-3/#unforced-breaks">
<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="columns:3; column-fill:auto; column-gap:0; width:300px; height:50px;">
<div style="width:200px; height:0;">
<div style="height:20px; background:red;"></div>
</div>
<!-- No valid breakpoint here, since the preceding sibling takes up no space
(and its overflowing child ends up in a parallel flow). -->
<div style="height:120px;">
<!-- Can't break inside lines. Let it overflow the (shorter) fragmentainer,
but not its container. Consume 100px from it. -->
<div style="display:inline-block; vertical-align:top; width:100px; height:100px; background:green;"></div>
</div>
<div style="margin-top:-20px; height:20px; background:white;"></div>
</div>