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