out-of-flow-in-multicolumn-031.html (1009B)
1 <!DOCTYPE html> 2 <title> 3 Nested fixedpos static position 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 margin-left: -100px; 15 } 16 .rel { 17 position: relative; 18 } 19 .abs { 20 position: absolute; 21 width: 50px; 22 height: 200px; 23 top: 0px; 24 background: red; 25 } 26 .fixed { 27 position: fixed; 28 width: 50px; 29 height: 200px; 30 background: green; 31 } 32 </style> 33 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 34 <div class="multicol"> 35 <div style="transform: translateX(0);"> 36 <div style=" height: 200px;"></div> 37 <div class="rel"> 38 <div style="height: 200px;"></div> 39 <div class="abs"> 40 <div class="fixed"></div> 41 </div> 42 </div> 43 </div> 44 </div>