out-of-flow-in-multicolumn-005.html (877B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://www.w3.org/TR/css-break-3/#breaking-controls"> 3 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 4 <!-- break-after: column does not apply to absolute positioned elements. --> 5 <style> 6 #multicol { 7 column-count: 2; 8 column-fill: auto; 9 column-gap: 10px; 10 height: 100px; 11 width: 200px; 12 } 13 .rel { 14 position: relative; 15 height: 10px; 16 width: 100px; 17 background: green; 18 } 19 .abs { 20 position: absolute; 21 width: 40px; 22 height: 30px; 23 break-after: column; 24 } 25 .content { 26 width: 100px; 27 height: 45px; 28 background: green; 29 } 30 </style> 31 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 32 <div id="multicol"> 33 <div class="content"></div> 34 <div class="rel"> 35 <div class="abs"></div> 36 </div> 37 <div class="content"></div> 38 </div>