multi-line-row-flex-fragmentation-044.html (1220B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line row flex fragmentation: Tall margins with forced break. 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 } 13 #flex > div { 14 width: 10px; 15 background: green; 16 } 17 </style> 18 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 19 <div style="width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; background: red;"> 20 <div id="flex"> 21 <div style="margin-top: 50px; height: 100px;"></div> 22 <div style="margin-top: 100px; height: 50px; break-after: avoid;"></div> 23 <div style="margin-top: 50px; height: 250px;"></div> 24 <div style="margin-top: 100px; height: 200px; break-before: column;"></div> 25 <div style="position: absolute; height: 50px; width: 20px;"></div> 26 <div style="position: absolute; height: 50px; width: 30px; top: 50px; left: 10px;"></div> 27 <div style="position: absolute; height: 50px; top: 200px;"></div> 28 <div style="position: absolute; height: 100px; top: 200px; left: 10px;"></div> 29 </div> 30 </div>