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