multi-line-row-flex-fragmentation-032.html (1009B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line row flex fragmentation: break-before:avoid on the first 4 row is propagated to the 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 flex-wrap: wrap; 12 } 13 #flex > div { 14 width: 50px; 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: 2; column-gap: 0; column-fill: auto; position: relative; background: red;"> 20 <div style="height: 50px; width: 50px; background: green;"></div> 21 <div style="position: absolute; height: 50px; width: 50px; background: green;"></div> 22 <div style="height: 50px; width: 50px; background: green;"></div> 23 <div id="flex"> 24 <div> 25 <div style="height: 25px; break-before: avoid;"></div> 26 </div> 27 <div style="height: 25px;"></div> 28 </div> 29 </div>