multi-line-row-flex-fragmentation-084.html (871B)
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. Tests row gap that takes 5 entire fragment. 6 </title> 7 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/11520"> 8 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 9 <style> 10 .multicol { 11 columns: 3; 12 column-fill: auto; 13 width: 100px; 14 height: 100px; 15 background: green; 16 } 17 .flex { 18 display: flex; 19 flex-wrap: wrap; 20 background: red; 21 } 22 .flex>div { 23 contain: size; 24 width: 100%; 25 height: 100px; 26 background: green; 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:100px;"> 32 <div></div> 33 <div></div> 34 </div> 35 </div>