break-between-avoid-010.html (897B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://www.w3.org/TR/css-break-3/#break-propagation"> 3 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 4 <style> 5 .multicol { 6 column-count: 4; 7 column-gap: 0px; 8 column-fill: auto; 9 height: 100px; 10 width: 100px; 11 position: relative; 12 background: red; 13 } 14 .abs { 15 position: absolute; 16 height: 50px; 17 width: 25px; 18 } 19 </style> 20 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 21 <div class="multicol"> 22 <div style="width: 25px; height: 50px; background: green;"></div> 23 <div style="width: 25px; height: 50px; background: green;"></div> 24 <div> 25 <div style="height: 50px; break-before: avoid; background: green;"></div> 26 <div style="height: 200px; background: green;"></div> 27 </div> 28 <div class="abs" style="background: green; top: 50px; left: 0px;"></div> 29 </div>