out-of-flow-in-multicolumn-053.html (1107B)
1 <!DOCTYPE html> 2 <title> 3 Out-of-flow positioned element in nested 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 font: 20px/1 Ahem; 14 color: white; 15 } 16 #outer { 17 height: 100px; 18 width: 100px; 19 } 20 #inner { 21 width: 50px; 22 position: relative; 23 } 24 .abs { 25 position: absolute; 26 background-color: green; 27 height: 400px; 28 width: 25px; 29 } 30 </style> 31 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 32 <div class="multicol" id="outer"> 33 <div class="multicol" id="inner"> 34 <div style="height: 400px; width: 25px; background-color: red;"> 35 <span style="position: relative;"> 36 <div class="abs"></div> 37 AA AA AA AA A 38 AA AA A AA A 39 AA AA AA AA A 40 AA AA A AA A 41 </span> 42 </div> 43 </div> 44 </div>