fixed-in-nested-multicol-with-viewport-container.html (953B)
1 <!DOCTYPE html> 2 <title> 3 Nested fixedpos in a nested fragmentation context with viewport containing 4 block. 5 </title> 6 <link rel="help" href="https://www.w3.org/TR/css-position-3/#abspos-breaking"> 7 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 8 <style> 9 .multicol { 10 column-count: 2; 11 column-fill: auto; 12 column-gap: 0px; 13 } 14 #outer { 15 height: 100px; 16 width: 100px; 17 } 18 #inner { 19 width: 50px; 20 } 21 .rel { 22 position: relative; 23 } 24 .abs { 25 position: absolute; 26 height: 400px; 27 width: 25px; 28 background: red; 29 } 30 .fixed { 31 position: fixed; 32 height: 100px; 33 width: 100px; 34 background:green; 35 } 36 </style> 37 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 38 <div class="multicol" id="outer"> 39 <div class="multicol" id="inner"> 40 <div class="rel"> 41 <div class="abs"> 42 <div class="fixed"></div> 43 </div> 44 </div> 45 </div> 46 </div>