out-of-flow-in-multicolumn-013.html (911B)
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 <!-- Nested abspos with `height: auto` and positioned with the bottom property. 5 The innermost abspos only is fragmented. --> 6 <style> 7 #multicol { 8 column-count: 2; 9 width: 100px; 10 height: 100px; 11 column-fill: auto; 12 column-gap: 0px; 13 background-color: red; 14 } 15 .rel { 16 position: relative; 17 height: 100px; 18 width: 50px; 19 } 20 .abs { 21 position: absolute; 22 width: 50px; 23 background-color: green; 24 } 25 </style> 26 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 27 <div id="multicol"> 28 <div class="rel"> 29 <div class="abs" style="bottom: 0;"> 30 <div class="abs" style="bottom: -100px;"> 31 <div style="height: 200px;"></div> 32 </div> 33 </div> 34 </div> 35 </div>