out-of-flow-in-multicolumn-075.html (748B)
1 <!DOCTYPE html> 2 <title> 3 Out-of-flow positioned in non-containing-block in multicol. 4 </title> 5 <link rel="help" href="https://www.w3.org/TR/css-position-3/#abspos-breaking"> 6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 7 <style> 8 .multicol { 9 column-count: 4; 10 column-gap: 0px; 11 width: 100px; 12 } 13 .abs { 14 position: absolute; 15 background-color: green; 16 height: 400px; 17 width: 25px; 18 top: 0; 19 } 20 </style> 21 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 22 <div class="multicol"> 23 <div style="position: relative;"> 24 <div style="height: 400px; background: red"></div> 25 <div style="will-change: opacity"> 26 <div class="abs"></div> 27 </div> 28 </div> 29 </div>