single-line-column-flex-fragmentation-018.html (1004B)
1 <!DOCTYPE html> 2 <title> 3 Single-line column flex fragmentation with break-before: column. 4 </title> 5 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination"> 6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 7 <style> 8 .multicol { 9 column-count: 4; 10 column-gap: 0px; 11 height: 100px; 12 width: 100px; 13 position: relative; 14 background: red; 15 } 16 .abs { 17 position: absolute; 18 height: 50px; 19 width: 25px; 20 } 21 </style> 22 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 23 <div class="multicol"> 24 <div style="display: flex; flex-direction: column; width: 25px;"> 25 <div style="height: 50px; background: green;"></div> 26 <div style="height: 50px; break-before: column; background: green;"></div> 27 <div style="height: 300px; background: green;"></div> 28 </div> 29 <div class="abs" style="background: green; top: 50px; left: 0px;"></div> 30 <div class="abs" style="background: white; top: 0px;"></div> 31 </div>