1
0
Fork 0
firefox/testing/web-platform/tests/css/css-break/inline-skipping-fragmentainer-002.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

29 lines
1.1 KiB
HTML

<!DOCTYPE html>
<title>SPAN in empty fragmentainer</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://issues.chromium.org/issues/40287080">
<meta name="assert" content="The SPAN starts in the first fragmentainer, and ends in the fourth. The second fragmentainer has no inline content, due to a tall float">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<style>
.ib {
display: inline-block;
vertical-align: top;
width: 100%;
height: 50px;
background: green;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns:4; column-fill:auto; gap:0; width:100px; height:100px; line-height:50px; orphans:1; widows:1; background:red;">
<div style="height:50px; background:green;"></div>
<div style="break-inside:avoid; float:left; width:100%; height:100px; background:green;"></div>
<div>
<span style="position:relative;">
<div class="ib"></div>
<div class="ib"></div>
<div class="ib"></div>
<div class="ib"></div>
<div class="ib"></div>
</span>
</div>
</div>