multi-line-row-flex-fragmentation-088.html (1153B)
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 5 is larger than the fragmentainer block-size. 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 position: relative; 12 columns: 3; 13 column-fill: auto; 14 column-gap: 0px; 15 width: 100px; 16 height: 100px; 17 background: green; 18 } 19 .flex { 20 display: flex; 21 flex-wrap: wrap; 22 background: red; 23 } 24 .flex>div { 25 contain: size; 26 width: 100%; 27 height: 50px; 28 background: green; 29 } 30 .abspos { 31 position: absolute; 32 left: 0px; 33 top: 50px; 34 width: 33.33px; 35 height: 50px; 36 background: green; 37 } 38 </style> 39 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 40 <div class="multicol"> 41 <div class="flex" style="row-gap:200px;"> 42 <div></div> 43 <div></div> 44 </div> 45 <!-- background of flex left in the 1st fragment --> 46 <div class="abspos"> </div> 47 </div>