single-line-column-flex-fragmentation-003.html (762B)
1 <!DOCTYPE html> 2 <title> 3 Single-line column flex fragmentation intrinsic block size. 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: 4; 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 width: 25px; 20 background: green; 21 } 22 .flex > div { 23 width: 25px; 24 } 25 </style> 26 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 27 <div class="multicol"> 28 <div class="flex"> 29 <div style="height: 50px;"></div> 30 <div style="height: 350px;"></div> 31 </div> 32 </div>