break-between-avoid-007.html (940B)
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; column-fill:auto; width:250px; column-gap:50px; margin-left:-150px; height:110px;"> 8 <div style="height:2px; background:red;"></div> 9 <div id="wrapper1"> 10 <div id="wrapper2"> 11 <div id="wrapper3"> 12 <div id="a" style="contain:size; height:50px; background:red;"></div> 13 <div id="b" style="contain:size; height:50px; background:green;"></div> 14 </div> 15 </div> 16 <div id="c" style="break-before:avoid; contain:size; height:50px; background:green;"></div> 17 </div> 18 </div> 19 </div>