multi-line-column-flex-fragmentation-029.html (1079B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line column flex fragmentation: we shouldn't insert a forced break if 4 there's no preceding content at the start of a fragmentainer. 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-fill: auto; 12 column-gap: 0px; 13 height: 100px; 14 width: 100px; 15 position: relative; 16 background: red; 17 } 18 </style> 19 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 20 <div class="multicol"> 21 <div style="display: flex; flex-direction: column; flex-wrap: wrap; width: 50px; height: 200px;"> 22 <div style="height: 100px; width: 25px; break-before: column; background: green;"></div> 23 <div style="height: 100px; width: 25px; break-before: column; background: green;"></div> 24 <div style="height: 50px; width: 25px; break-before: column; background: green;"></div> 25 <div style="height: 150px; width: 25px; background: green;"></div> 26 </div> 27 </div>