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