out-of-flow-in-multicolumn-034.html (1083B)
1 <!DOCTYPE html> 2 <title> 3 Nested fixedpos with fixedpos child in a multicol with transform container. 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 } 15 .rel { 16 position: relative; 17 } 18 .abs { 19 position: absolute; 20 width: 50px; 21 height: 200px; 22 } 23 .fixed { 24 position: fixed; 25 width: 50px; 26 height: 200px; 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 style="transform: translateX(0);"> 33 <div style="height: 200px;"></div> 34 <div class="rel"> 35 <div style="height: 200px;"></div> 36 <div class="abs"> 37 <div style="height: 200px;"></div> 38 <div class="fixed" style="background: red;"> 39 <div class="fixed" style="background: green;"></div> 40 </div> 41 </div> 42 </div> 43 </div> 44 </div>