single-line-row-flex-fragmentation-022.html (730B)
1 <!DOCTYPE html> 2 <title> 3 Single-line row flex fragmentation: If the fragmentainer is out of space 4 but a flex row should break before if it has content. 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 } 12 </style> 13 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 14 <div style="width: 100px; height: 100px; columns: 2; column-gap: 0; column-fill: auto; background: red;"> 15 <div style="height: 100px; width: 100px; background: green;"></div> 16 <div id="flex"> 17 <div style="height: 100px; width: 100px; background: green;"></div> 18 </div> 19 </div>