Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-break/tall-line-in-short-fragmentainer-000.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<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>