multi-line-column-flex-fragmentation-005.html (974B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line column flex fragmentation with nested OOFs. 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 height: 500px; 26 width: 10px; 27 } 28 .abs { 29 background: green; 30 position: absolute; 31 width: 10px; 32 top: 0; 33 bottom: 0; 34 } 35 </style> 36 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 37 <div class="multicol"> 38 <div class="flex"> 39 <div> 40 <div class="abs"></div> 41 </div> 42 <div style="position: relative;"> 43 <div class="abs"></div> 44 </div> 45 </div> 46 </div>