out-of-flow-in-multicolumn-022.html (720B)
1 <!DOCTYPE html> 2 <title> 3 Nested abpos fragmentation. 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 height: 100px; 13 width: 100px; 14 background: red; 15 } 16 .rel { 17 position: relative; 18 } 19 .abs { 20 position: absolute; 21 width: 50px; 22 background-color: green; 23 } 24 </style> 25 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 26 <div class="multicol"> 27 <div class="rel"> 28 <div class="abs"> 29 <div class="abs" style="height: 200px;"></div> 30 </div> 31 </div> 32 </div>