multi-line-row-flex-fragmentation-037.html (911B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line row flex fragmentation: break-before:avoid and column balancing. 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 } 15 </style> 16 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 17 <div style="width:100px; height:100px; background:red;"> 18 <div style="width: 100px; columns: 2; column-gap: 0;position: relative; background: green;"> 19 <div id="flex"> 20 <div style="height: 25px;"></div> 21 <div style="height: 50px;"></div> 22 <div style="height: 5px; width: 25px;"></div> 23 <div style="height: 25px; width: 25px; break-before: avoid;"></div> 24 <div style="height: 50px;"></div> 25 </div> 26 </div> 27 </div> 28 </div>