tall-line-in-short-fragmentainer-000.html (1026B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://www.w3.org/TR/css-break-3/#unforced-breaks"> 4 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 5 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 6 <div style="columns:3; column-fill:auto; column-gap:0; width:300px; height:50px;"> 7 <div style="width:200px; height:0;"> 8 <div style="height:20px; background:red;"></div> 9 </div> 10 <!-- No valid breakpoint here, since the preceding sibling takes up no space 11 (and its overflowing child ends up in a parallel flow). --> 12 <div style="height:120px;"> 13 <!-- Can't break inside lines. Let it overflow the (shorter) fragmentainer, 14 but not its container. Consume 100px from it. --> 15 <div style="display:inline-block; vertical-align:top; width:100px; height:100px; background:green;"></div> 16 </div> 17 <div style="margin-top:-20px; height:20px; background:white;"></div> 18 </div>