multi-line-row-flex-fragmentation-029.html (1110B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line row flex fragmentation: row offset with break-before 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: 150px; 12 background: green; 13 align-content: space-between; 14 } 15 .abs { 16 position: absolute; 17 height: 25px; 18 width: 50%; 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-gap: 0; column-fill: auto; position: relative; background: red;"> 23 <div class="abs" style="left: 100px; background: white;"></div> 24 <div id="flex"> 25 <div style="height: 25px; width: 50px;"></div> 26 <div style="height: 10px; width: 25px; align-self: center;"></div> 27 <div style="height: 25px; width: 25px; break-before: column;"></div> 28 <div style="height: 50px; width: 50px; background: green;"></div> 29 </div> 30 <div class="abs" style="background: green;"></div> 31 </div>