out-of-flow-in-multicolumn-070.html (828B)
1 <!DOCTYPE html> 2 <title> 3 Out-of-flow positioned element with inline CB affects column balancing. 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 <style> 8 .multicol { 9 column-count: 4; 10 column-gap: 0px; 11 width: 100px; 12 } 13 .abs { 14 position: absolute; 15 background-color: green; 16 height: 400px; 17 width: 25px; 18 } 19 #target { 20 background-color: red; 21 position: relative; 22 height: 100px; 23 width: 100px; 24 top: -100px; 25 z-index: -1; 26 } 27 </style> 28 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 29 <div class="multicol"> 30 <div> 31 <span style="position: relative;"> 32 <div class="abs"></div> 33 </span> 34 </div> 35 </div> 36 <div id="target"></div>