multi-line-row-flex-fragmentation-017.html (1116B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line row flex fragmentation with items in the same row ending layout 4 in different fragmentainers. 5 </title> 6 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination"> 7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 8 <style> 9 #flex { 10 display: flex; 11 flex-wrap: wrap; 12 } 13 #flex > div { 14 background: green; 15 width: 10px; 16 } 17 .abs { 18 position: absolute; 19 width: 10px; 20 height: 100px; 21 background: green; 22 } 23 </style> 24 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 25 <div style="width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; background: red;"> 26 <div id="flex"> 27 <div style="height: 300px;"></div> 28 <div style="position: relative; height: 200px;"> 29 <div style="width: 10px; height: 200px;"></div> 30 <div class="abs"></div> 31 </div> 32 <div style="height: 200px;"></div> 33 <div style="position: relative; height: 100px;"> 34 <div style="width: 10px; height: 100px;"></div> 35 <div class="abs"></div> 36 </div> 37 </div> 38 </div>