multi-line-row-flex-fragmentation-040.html (985B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line row flex fragmentation: nested column balancing. 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 #flex { 9 display: flex; 10 flex-wrap: wrap; 11 position: relative; 12 } 13 #flex > div { 14 height: 50px; 15 width: 100%; 16 background: green; 17 } 18 </style> 19 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 20 <div style="columns: 2; column-fill: auto; column-gap: 0; width: 100px; height: 100px; background: red;"> 21 <div style="height: 50px; background: green;"></div> 22 <div style="columns: 2; column-fill: auto; column-gap: 0;"> 23 <div id="flex"> 24 <div style="position: absolute; left: 25px;"></div> 25 <div></div> 26 <div style="width: 50%;"></div> 27 <div style="width: 50%; break-after: avoid;"></div> 28 <div style="height: 150px;"></div> 29 </div> 30 </div> 31 </div>