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