out-of-flow-in-multicolumn-002.html (852B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://www.w3.org/TR/css-break-3/#break-decoration"> 3 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 4 <!-- Tests fragmentation when a positioned node's child overflows. --> 5 <style> 6 #multicol { 7 column-count: 2; 8 column-fill: auto; 9 column-gap: 0px; 10 height: 100px; 11 width: 50px; 12 } 13 .rel { 14 position: relative; 15 width: 30px; 16 } 17 .abs { 18 position: absolute; 19 top: 0px; 20 width: 5px; 21 height: 10px; 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"> 29 <div style="background: green; width: 25px; height: 400px;"></div> 30 </div> 31 </div> 32 <div style="background-color: red; width: 20px; height: 140px;"></div> 33 </div>