out-of-flow-in-multicolumn-052.html (984B)
1 <!DOCTYPE html> 2 <title> 3 Nested out-of-flow positioned element in multicol with inline containing block. 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 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 8 <style> 9 .multicol { 10 column-count: 2; 11 column-fill: auto; 12 column-gap: 0px; 13 height: 100px; 14 width: 100px; 15 font: 20px/1 Ahem; 16 color: red; 17 } 18 .fixed { 19 position: fixed; 20 background-color: green; 21 width: 100px; 22 height: 100px; 23 } 24 </style> 25 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 26 <div class="multicol"> 27 <div style="height: 200px; width: 50px; background-color: red;"> 28 <span style="position: relative;"> 29 <span style="position: absolute;"> 30 <div class="fixed"></div> 31 AA AA AA AA A 32 AA AA A AA A 33 </span> 34 </span> 35 </div> 36 </div>