multi-line-row-flex-fragmentation-052.html (1455B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line row flex fragmentation: Row expansion and stretching. 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 } 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: 5; column-gap: 0; column-fill: auto; position: relative; background: red;"> 19 <div style="position: absolute; top: 50px; width: 10px; height: 50px; background: green;"></div> 20 <div style="position: absolute; top: 50px; left: 40px; width: 20px; height: 50px; background: green;"></div> 21 <div style="position: absolute; left: 70px; width: 10px; height: 50px; background: green;"></div> 22 <div style="position: absolute; top: 70px; left: 60px; width: 10px; height: 30px; background: green;"></div> 23 <div id="flex"> 24 <div style="width: 20px; height: 50px;"></div> 25 <div style="margin-top: 40px; height: 60px; contain: size;"></div> 26 <div></div> 27 <div style="width: 20px; height: 90px;"></div> 28 <div style="margin-top: 40px; height: 70px; contain: size;"></div> 29 <div style="margin-top: 100px; height: 50px; contain: size;"></div> 30 <div style="height: 100px; break-before: column;"></div> 31 <div></div> 32 </div> 33 </div>