out-of-flow-in-multicolumn-060.html (995B)
1 <!DOCTYPE html> 2 <title> 3 Nested out-of-flow positioned element in multicol with inline containing 4 block - the relative offset should apply to the OOF descendant after 5 fragmentation. 6 </title> 7 <link rel="help" href="https://www.w3.org/TR/css-position-3/#abspos-breaking"> 8 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 9 <style> 10 .multicol { 11 column-count: 2; 12 column-fill: auto; 13 column-gap: 0px; 14 height: 100px; 15 width: 100px; 16 margin-left: -100px; 17 margin-top: -50px; 18 } 19 .rel { 20 position: relative; 21 } 22 .abs { 23 position: absolute; 24 background-color: green; 25 height: 200px; 26 width: 50px; 27 top: 0px; 28 } 29 </style> 30 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 31 <div class="multicol"> 32 <div class="rel" style="top: 50px; left: 100px;"> 33 <span class="abs"> 34 <div style="height: 200px; width: 50px; background: red;"></div> 35 <div class="abs"></div> 36 </span> 37 </div> 38 </div>