1
0
Fork 0
firefox/testing/web-platform/tests/css/css-break/tall-line-in-short-fragmentainer-000.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

18 lines
1 KiB
HTML

<!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>