multi-line-row-flex-fragmentation-019.html (945B)
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 } 12 #flex > div { 13 background: green; 14 width: 10px; 15 } 16 .abs { 17 position: absolute; 18 width: 20px; 19 height: 70px; 20 top: 30px; 21 background: green; 22 } 23 </style> 24 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 25 <div style="width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; position: relative; background: red;"> 26 <div class="abs"></div> 27 <div id="flex"> 28 <div style="height: 30px;"></div> 29 <div></div> 30 <div style="height: 80px;"></div> 31 <div style="break-inside: avoid;"></div> 32 <div style="height: 320px; width: 20px;"></div> 33 </div> 34 </div>