flex-container-fragmentation-005.html (967B)
1 <!DOCTYPE html> 2 <title> 3 Flex container fragmentation with break-before: column. 4 </title> 5 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination"> 6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 7 <style> 8 .multicol { 9 background: red; 10 column-count: 4; 11 column-gap: 0px; 12 height: 100px; 13 position: relative; 14 width: 100px; 15 } 16 .flex { 17 background: green; 18 display: flex; 19 width: 25px; 20 } 21 .abs { 22 height: 50px; 23 position: absolute; 24 width: 25px; 25 } 26 </style> 27 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 28 <div class="multicol"> 29 <div class="flex" style="height: 50px;"></div> 30 <div class="flex" style="height: 50px; break-before: column;"></div> 31 <div class="flex" style="height: 300px;"></div> 32 <div class="abs" style="background: green; top: 50px; left: 0px;"></div> 33 <div class="abs" style="background: white; top: 0px;"></div> 34 </div>