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