multi-line-column-flex-fragmentation-039.html (1272B)
1 <!DOCTYPE html> 2 <title> 3 Multi-line column flex fragmentation: Tall margins with forced break. 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 #flex { 9 display: flex; 10 flex-direction: column; 11 flex-wrap: wrap; 12 height: 500px; 13 position: relative; 14 } 15 #flex > div { 16 background: green; 17 width: 10px; 18 } 19 </style> 20 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 21 <div style="width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; background: red;"> 22 <div id="flex"> 23 <div style="height: 50px;"></div> 24 <div style="height: 50px; margin-top: 100px; break-before: column;"></div> 25 <div style="height: 200px; margin-top: 50px;"></div> 26 <div style="height: 50px; background: white;"></div> 27 <div style="height: 50px; margin-top: 100px; break-before: column;"></div> 28 <div style="height: 200px; margin-top: 50px;"></div> 29 <div style="position: absolute; height: 150px; top: 50px;"></div> 30 <div style="position: absolute; height: 200px; left: 10px;"></div> 31 <div style="position: absolute; height: 50px; width: 20px; top: 250px;"></div> 32 </div> 33 </div>