multi-line-column-flex-fragmentation-026.html (1209B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line column flex fragmentation: break-after values on the first item 4 are propagated to the flex container. 5 </title> 6 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination"> 7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 8 <style> 9 .multicol { 10 column-count: 2; 11 column-fill: auto; 12 column-gap: 0px; 13 height: 100px; 14 width: 100px; 15 position: relative; 16 background: red; 17 } 18 .abs { 19 position: absolute; 20 width: 50px; 21 background: green; 22 } 23 #flex { 24 display: flex; 25 flex-direction: column; 26 flex-wrap: wrap; 27 height: 50px; 28 } 29 #flex > div { 30 background: green; 31 width: 25x; 32 } 33 </style> 34 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 35 <div class="multicol"> 36 <div class="abs" style="top: 50px; height: 50px;"></div> 37 <div id="flex"> 38 <div style="height: 25px;"></div> 39 <div style="height: 25px; break-after: column;"></div> 40 <div style="height: 50px; break-after: avoid;"></div> 41 </div> 42 <div style="width: 50px; height: 50px; background: green;"></div> 43 <div style="width: 50px; height: 50px; background: green;"></div> 44 </div>