break-avoidance-007.html (824B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://www.w3.org/TR/css-break-3/#unforced-breaks"> 4 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 5 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 6 <div style="width:100px; height:100px; background:red;"> 7 <div style="columns:2; gap:0; column-fill:auto; line-height:20px; height:250px;"> 8 <div style="display:table-caption;"> 9 <div style="contain:size; width:50px; height:100px; background:green;"></div> 10 <div style="contain:size; width:50px; height:100px; background:green;"></div> 11 </div> 12 <div style="break-before:avoid;"> 13 <div style="contain:size; width:10px; height:100px;"></div> 14 </div> 15 </div> 16 </div>