multi-line-column-flex-fragmentation-004.html (857B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line column flex fragmentation. 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 background: red; 10 column-count: 2; 11 column-fill: auto; 12 column-gap: 0px; 13 height: 100px; 14 width: 100px; 15 } 16 .flex { 17 display: flex; 18 flex-direction: column; 19 flex-wrap: wrap; 20 height: 200px; 21 width: 50px; 22 } 23 .flex > div { 24 background: green; 25 width: 25px; 26 } 27 </style> 28 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 29 <div class="multicol"> 30 <div class="flex"> 31 <div style="height: 150px;"></div> 32 <div style="height: 50px;"></div> 33 <div style="height: 50px;"></div> 34 <div style="height: 150px;"></div> 35 </div> 36 </div>