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