out-of-flow-in-multicolumn-043.html (919B)
1 <!DOCTYPE html> 2 <title> 3 Relative insets apply to nested abspos in a multicol after fragmentation. 4 </title> 5 <link rel="help" href="https://www.w3.org/TR/css-break-3/#transforms"> 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 margin-left: -150px; 15 margin-top: -150px; 16 } 17 .rel { 18 position: relative; 19 height: 200px; 20 } 21 .abs { 22 position: absolute; 23 width: 100%; 24 height: 200px; 25 } 26 </style> 27 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 28 <div class="multicol"> 29 <div class="rel" style="top: 50px; left: 50px;"> 30 <div class="rel" style="top: 100px; left: 100px; background: red;"> 31 <div class="abs"> 32 <div class="abs" style="background: green;"></div> 33 </div> 34 </div> 35 </div> 36 </div>