multi-line-row-flex-fragmentation-020.html (949B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line row flex fragmentation with break-inside: avoid. 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 position: relative; 12 } 13 #flex > div { 14 background: green; 15 width: 25px; 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: 4; column-gap: 0; column-fill: auto; background: red;"> 20 <div id="flex"> 21 <div> 22 <div style="contain: size; width: 25px; height: 90px;"></div> 23 <div style="contain: size; width: 25px; height: 80px;"></div> 24 </div> 25 <div style="height: 30px; break-inside: avoid;"></div> 26 <div style="height: 170px;"></div> 27 <div style="position: absolute; height: 20px; top: 180px;"></div> 28 </div> 29 </div>