multi-line-column-flex-fragmentation-031.html (1427B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line column flex fragmentation with break-inside: avoid. 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 column-count: 5; 10 column-fill: auto; 11 column-gap: 0px; 12 height: 100px; 13 width: 100px; 14 position: relative; 15 background: red; 16 } 17 #flex { 18 display: flex; 19 flex-direction: column; 20 flex-wrap: wrap; 21 height: 500px; 22 position: relative; 23 } 24 #flex > div { 25 background: green; 26 width: 10px; 27 } 28 </style> 29 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 30 <div class="multicol"> 31 <div id="flex"> 32 <div> 33 <div style="contain: size; width: 10px; height: 90px;"></div> 34 <div style="contain: size; width: 10px; height: 80px;"></div> 35 </div> 36 <div style="height: 30px; break-inside: avoid;"></div> 37 <div style="height: 170px;"></div> 38 <div style="height: 100px;"></div> 39 <div> 40 <div style="contain: size; width: 10px; height: 90px;"></div> 41 <div style="contain: size; width: 10px; height: 80px;"></div> 42 </div> 43 <div style="height: 30px; break-inside: avoid;"></div> 44 <div style="height: 170px;"></div> 45 <div style="height: 100px;"></div> 46 <div style="position: absolute; height: 20px; width: 20px; top: 180px;"></div> 47 </div> 48 </div>