multi-line-row-flex-fragmentation-030.html (1116B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line row flex fragmentation: row offset with break-inside:avoid 4 and alignment. 5 </title> 6 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination"> 7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 8 <style> 9 #flex { 10 display: flex; 11 flex-wrap: wrap; 12 height: 150px; 13 background: green; 14 align-content: space-between; 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: 2; column-gap: 0; column-fill: auto; position: relative; background: red;"> 19 <div id="flex"> 20 <div style="height: 50px; width: 50px;"></div> 21 <div style="height: 10px; width: 25px; align-self: center;"></div> 22 <div style="height: 50px; width: 25px; break-inside: avoid;"></div> 23 <div style="height: 25px; width: 50px; background: green;"></div> 24 </div> 25 <div style="position: absolute; height: 13px; width: 50px; background: green;"></div> 26 <div style="position: absolute; bottom: 0px; height: 13px; width: 50px; background: green;"></div> 27 </div>