out-of-flow-in-multicolumn-009.html (973B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://www.w3.org/TR/css-position-3/#abspos-breaking"> 3 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 4 <!-- Tests that empty column fragments are added if an OOF element begins layout in a fragmentainer that is more than one index beyond the last existing column fragmentainer in the presence of a spanner. --> 5 <style> 6 #multicol { 7 column-count: 2; 8 column-fill: auto; 9 column-gap: 0px; 10 height: 100px; 11 width: 100px; 12 margin-left: -100px; 13 } 14 .rel { 15 position: relative; 16 } 17 .abs { 18 position: absolute; 19 top: 200px; 20 width: 50px; 21 height: 200px; 22 background: green; 23 } 24 </style> 25 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 26 <div id="multicol"> 27 <div class="rel"> 28 <div class="abs"></div> 29 </div> 30 <div style="column-span: all;"></div> 31 <div style="column-span: all;"></div> 32 <div style="column-span: all;"></div> 33 </div>