multi-line-row-flex-fragmentation-085.html (898B)
1 <!DOCTYPE html> 2 <title> 3 Suppress row flexbox gaps: row gaps should be suppressed if it's split across 4 fragmentainer breaks or is the last content before a break. Test with forced breaks. 5 </title> 6 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/11520"> 7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 8 <style> 9 .multicol { 10 columns: 2; 11 column-fill: auto; 12 width: 100px; 13 height: 100px; 14 background: green; 15 } 16 .flex { 17 display: flex; 18 flex-wrap: wrap; 19 background: red; 20 } 21 .flex>div { 22 contain: size; 23 width: 100%; 24 height: 10px; 25 background: green; 26 break-before: column; 27 } 28 </style> 29 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 30 <div class="multicol"> 31 <div class="flex" style="row-gap:10px;"> 32 <div style="height:100px;"></div> 33 <div></div> 34 </div> 35 </div>