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