single-line-row-flex-fragmentation-028.html (797B)
1 <!DOCTYPE html> 2 <title> 3 Single-line row flex fragmentation: OOF static position and alignment. 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 #flex { 9 display: flex; 10 height: 200px; 11 position: relative; 12 align-items: flex-end; 13 } 14 #flex > div { 15 width: 100px; 16 height: 100px; 17 flex: none; 18 } 19 </style> 20 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 21 <div style="margin-left: -50px; width: 100px; height: 100px; columns: 2; column-fill: auto; column-gap: 0;"> 22 <div id="flex"> 23 <div style="position: absolute; background: green;"></div> 24 <div style="background: red;"></div> 25 </div> 26 </div> 27 </div>