multi-line-row-flex-fragmentation-070-ref.html (711B)
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 <style> 8 .multicol { 9 columns: 2; 10 column-fill: auto; 11 width: 300px; 12 height: 100px; 13 margin: 20px; 14 background: yellow; 15 } 16 .flex { 17 display: flex; 18 flex-wrap: wrap; 19 background: gray; 20 } 21 .flex > div { 22 contain: size; 23 width: 100%; 24 height: 50px; 25 background: cyan; 26 } 27 </style> 28 <p>Flex row gaps <strong>should</strong> be truncated when a row breaks.</p> 29 <div class="multicol"> 30 <div class="flex"> 31 <div></div> 32 <div style="margin-top:50px;"></div> 33 </div> 34 </div>