out-of-flow-in-multicolumn-048.html (1053B)
1 <!DOCTYPE html> 2 <title> 3 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: 4; 11 column-fill: auto; 12 column-gap: 0px; 13 height: 100px; 14 width: 100px; 15 font: 20px/1 Ahem; 16 color: white; 17 } 18 .abs { 19 position: absolute; 20 background-color: green; 21 width: 25px; 22 height: 200px; 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: 400px; width: 25px; background-color: red;"> 28 <div style="height: 100px;"></div> 29 <span style="position: relative;"> 30 AA AA AA AA A 31 <div class="abs" style="bottom: 0px;"></div> 32 AA AA A AA A 33 AA A AA AA A 34 <div class="abs" style="top: -100px;"></div> 35 </span> 36 </div> 37 </div>