out-of-flow-in-multicolumn-008.html (772B)
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 fragmented abspos elements with a spanner nested inside. --> 5 <style> 6 #multicol { 7 column-count: 2; 8 column-fill: auto; 9 column-gap: 0px; 10 height: 100px; 11 width: 100px; 12 } 13 .rel { 14 position: relative; 15 } 16 .abs { 17 position: absolute; 18 width: 50px; 19 height: 200px; 20 background: green; 21 } 22 .spanner { 23 column-span: all; 24 height: 10px; 25 } 26 </style> 27 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 28 <div id="multicol"> 29 <div class="rel"> 30 <div class="abs"> 31 <div class="spanner"></div> 32 </div> 33 </div> 34 </div>