out-of-flow-in-multicolumn-054.html (993B)
1 <!DOCTYPE html> 2 <title> 3 Out-of-flow positioned element in multicol with inline containing block and 4 column spanner. 5 </title> 6 <link rel="help" href="https://www.w3.org/TR/css-position-3/#abspos-breaking"> 7 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 9 <style> 10 .multicol { 11 column-count: 2; 12 column-fill: auto; 13 column-gap: 0px; 14 height: 100px; 15 width: 100px; 16 font: 20px/1 Ahem; 17 color: red; 18 } 19 .abs { 20 position: absolute; 21 background-color: green; 22 height: 200px; 23 width: 50px; 24 top: 0px; 25 } 26 </style> 27 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 28 <div class="multicol"> 29 <div style="height: 200px; width: 50px; background-color: red;"> 30 <span style="position: relative;"> 31 AA AA AA AA 32 <div style="column-span: all;"></div> 33 A AA AA A AA A 34 <div class="abs"></div> 35 </span> 36 </div> 37 </div>