single-line-row-flex-fragmentation-017.html (1034B)
1 <!DOCTYPE html> 2 <title> 3 Single-line row flex fragmentation: break-before values on the first row 4 are propagated to the nested flex container. 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 break-before: avoid; 12 } 13 </style> 14 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 15 <div style="width: 100px; height: 100px; columns: 2; column-gap: 0; column-fill: auto; position: relative; background: red;"> 16 <div style="height: 50px; width: 50px; background: green;"></div> 17 <div style="position: absolute; height: 50px; width: 50px; background: green;"></div> 18 <div id="flex"> 19 <div id="flex" style="background: green;"> 20 <div style="height: 50px; width: 25px;"></div> 21 <div style="height: 50px; width: 25px; break-before: column;"></div> 22 </div> 23 </div> 24 <div style="height: 50px; width: 50px; background: green;"></div> 25 </div>