multi-line-row-flex-fragmentation-051.html (987B)
1 <!DOCTYPE html> 2 <title> 3 Multi-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 flex-wrap: wrap; 11 height: 190px; 12 position: relative; 13 align-items: center; 14 padding-top: 10px; 15 } 16 #flex > div { 17 width: 50px; 18 height: 100px; 19 background: green; 20 flex: none; 21 } 22 </style> 23 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 24 <div style="position: absolute; height: 10px; width: 50px; background: green;"></div> 25 <div style="width: 100px; height: 100px; columns: 2; column-fill: auto; column-gap: 0;"> 26 <div id="flex"> 27 <div style="position: absolute;"></div> 28 <div style="height: 45px;"></div> 29 <div style="background: red;"></div> 30 <div style="height: 45px;"></div> 31 </div> 32 </div> 33 </div>