single-line-column-flex-fragmentation-033.html (936B)
1 <!DOCTYPE html> 2 <title> 3 Single-line column flex fragmentation: Tall margins. 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 position: relative; 12 } 13 #flex > div { 14 width: 20px; 15 background: green; 16 } 17 </style> 18 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 19 <div style="width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; background: red;"> 20 <div style="height: 50px; width: 20px; background: green;"></div> 21 <div id="flex"> 22 <div style="height: 100px; margin-top: 50px;"></div> 23 <div style="height: 150px; margin-top: 150px;"></div> 24 <div style="position: absolute; height: 50px;"></div> 25 <div style="position: absolute; height: 150px; top: 150px;"></div> 26 </div> 27 </div>