single-line-row-flex-fragmentation-013.html (1163B)
1 <!DOCTYPE html> 2 <title> 3 Single-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 } 12 #flex > div { 13 background: green; 14 width: 10px; 15 } 16 </style> 17 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 18 <div style="width: 100px; height: 100px; columns: 2; column-gap: 0; column-fill: auto; background: red;"> 19 <div id="flex"> 20 <div style="height: 200px;"></div> 21 <div style="position: relative; height: 100px;"> 22 <div style="width: 10px; height: 100px;"></div> 23 <div style="position: absolute; width: 10px; height: 100px; background: green;"></div> 24 </div> 25 <div style="height: 200px;"></div> 26 <div style="position: relative; height: 80px;"> 27 <div style="width: 10px; height: 80px;"></div> 28 <div style="position: absolute; width: 10px; height: 120px; background: green;"></div> 29 </div> 30 <div style="height: 200px;"></div> 31 </div> 32 </div>