single-line-row-flex-fragmentation-004.html (715B)
1 <!DOCTYPE html> 2 <title> 3 Single-line row 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: 5; 11 column-fill: auto; 12 column-gap: 0px; 13 height: 100px; 14 width: 100px; 15 } 16 .flex { 17 display: flex; 18 width: 20px; 19 } 20 .flex > div { 21 background: green; 22 width: 5px; 23 height: 500px; 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></div> 30 <div></div> 31 <div></div> 32 <div></div> 33 </div> 34 </div>