out-of-flow-in-multicolumn-026.html (758B)
1 <!DOCTYPE html> 2 <title> 3 Nested fixedpos in a multicol. 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 } 22 .fixed { 23 position: fixed; 24 height: 100px; 25 width: 100px; 26 background-color: green; 27 } 28 </style> 29 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 30 <div class="multicol"> 31 <div class="rel"> 32 <div class="abs"> 33 <div class="fixed"></div> 34 </div> 35 </div> 36 </div>