single-line-column-flex-fragmentation-022.html (781B)
1 <!DOCTYPE html> 2 <title> 3 Single-line column flex fragmentation: the flex container consumes the 4 remaining fragmentainer space if an item breaks before. 5 </title> 6 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination"> 7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 8 <style> 9 .multicol { 10 column-count: 2; 11 column-gap: 0px; 12 column-fill: auto; 13 height: 100px; 14 width: 100px; 15 background: red; 16 } 17 </style> 18 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 19 <div class="multicol"> 20 <div style="display: flex; flex-direction: column; width: 50px; background: green;"> 21 <div style="height: 50px;"></div> 22 <div style="height: 100px; break-before: column;"></div> 23 </div> 24 </div>