multi-line-row-flex-fragmentation-070.html (858B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line row flex fragmentation: row gaps should be truncated by 4 fragmentainer breaks. Tests row gap that is larger than the 5 fragmentainer block-size. 6 </title> 7 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination"> 8 <link rel="match" href="multi-line-row-flex-fragmentation-070-ref.html"> 9 <style> 10 .multicol { 11 columns: 2; 12 column-fill: auto; 13 width: 300px; 14 height: 100px; 15 margin: 20px; 16 background: yellow; 17 } 18 .flex { 19 display: flex; 20 flex-wrap: wrap; 21 background: gray; 22 } 23 .flex > div { 24 contain: size; 25 width: 100%; 26 height: 50px; 27 background: cyan; 28 } 29 </style> 30 <p>Flex row gaps <strong>should</strong> be truncated when a row breaks.</p> 31 <div class="multicol"> 32 <div class="flex" style="row-gap:150px;"> 33 <div></div> 34 <div></div> 35 </div> 36 </div>