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