single-line-column-flex-fragmentation-035.html (830B)
1 <!DOCTYPE html> 2 <title> 3 Single-line column flex fragmentation: Negative 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 } 12 </style> 13 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 14 <div style="height: 100px; width: 100px; background: red; position: absolute"> 15 <div style="margin-top: 150px; margin-left: -40px; width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto;"> 16 <div id="flex"> 17 <div style="height: 150px; width: 20px;"></div> 18 <div style="height: 100px; margin-top: -150px; width: 100px; break-before: column; background: green;"></div> 19 </div> 20 </div> 21 </div>