out-of-flow-in-multicolumn-046.html (789B)
1 <!DOCTYPE html> 2 <title> 3 Out-of-flow positioned element with inner multicol containing block. 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: 2; 10 column-fill: auto; 11 column-gap: 0px; 12 } 13 #outer { 14 height: 100px; 15 width: 100px; 16 } 17 #inner { 18 background-color: red; 19 width: 50px; 20 position: relative; 21 } 22 .abs { 23 position: absolute; 24 width: 50px; 25 height: 200px; 26 background-color: green; 27 } 28 </style> 29 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 30 <div class="multicol" id="outer"> 31 <div class="multicol" id="inner"> 32 <div class="abs"></div> 33 </div> 34 </div>