out-of-flow-in-multicolumn-047.html (956B)
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 .rel { 23 position: relative; 24 height: 200px; 25 } 26 .abs { 27 position: absolute; 28 background-color: green; 29 } 30 </style> 31 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 32 <div class="multicol" id="outer"> 33 <div class="multicol" id="inner"> 34 <div class="abs" style="width: 50px; height: 100px; top: 100px;"></div> 35 <div class="rel"> 36 <div class="abs" style="width: 25px; height: 200px;"></div> 37 </div> 38 </div> 39 </div>