out-of-flow-in-multicolumn-024.html (886B)
1 <!DOCTYPE html> 2 <title> 3 Nested abpos in a nested fragmentation context. 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: red; 19 width: 50px; 20 } 21 .rel { 22 position: relative; 23 } 24 .abs { 25 position: absolute; 26 width: 25px; 27 background-color: green; 28 } 29 </style> 30 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 31 <div class="multicol" id="outer"> 32 <div class="multicol" id="inner"> 33 <div class="rel"> 34 <div class="abs" style="top: 400px;"> 35 <div class="abs" style="top: -400px; height: 400px;"></div> 36 </div> 37 </div> 38 </div> 39 </div>