multi-line-column-flex-fragmentation-007.html (968B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line column flex fragmentation with items that stretch. 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: 5; 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 position: relative; 21 height: 500px; 22 width: 20px; 23 } 24 .flex > div { 25 background: green; 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: 250px;;"></div> 32 <div style="height: 250px;"></div> 33 <div style="height: 100px;"></div> 34 <div style="height: 50px;"></div> 35 <div style="height: 350px;"></div> 36 <div style="height: 500px;"></div> 37 </div> 38 </div>