multi-line-row-flex-fragmentation-058.html (1051B)
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 position: relative; 12 align-items: center; 13 width: 50px; 14 } 15 #flex > div { 16 width: 50px; 17 background: green; 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="width: 100px; height: 100px; columns: 2; column-fill: auto; column-gap: 0;"> 23 <div id="flex"> 24 <div style="position: absolute; height: 100px; background: green;"></div> 25 <div style="height: 50px;"> 26 <div style="contain: size; height: 50px;"></div> 27 <div style="contain: size; height: 50px; background: red;"></div> 28 </div> 29 <div style="height: 50px; break-before: column; background: red;"></div> 30 <div style="height: 50px;"></div> 31 </div> 32 </div> 33 </div>