out-of-flow-in-multicolumn-051.html (974B)
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 .abs { 19 position: absolute; 20 width: 50px; 21 } 22 </style> 23 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 24 <div class="multicol"> 25 <div style="height: 200px; width: 50px; background-color: red;"> 26 <span style="position: relative;"> 27 <span class="abs"> 28 AA AA AA AA A 29 AA AA A AA A 30 <div class="abs" style="top: 0px; bottom: 0px; background-color: green;"></div> 31 </span> 32 </span> 33 </div> 34 </div>