multi-line-row-flex-fragmentation-035.html (951B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line row flex fragmentation: break-after:avoid between rows. 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 } 12 #flex > div { 13 width: 50px; 14 background: green; 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 style="height: 50px; width: 50px; background: green;"></div> 20 <div style="position: absolute; top: 75px; height: 25px; width: 50px; background: green;"></div> 21 <div id="flex"> 22 <div style="height: 25px;"></div> 23 <div> 24 <div style="height: 25px; break-after: avoid;"></div> 25 </div> 26 <div style="height: 75px;"></div> 27 </div> 28 </div>