break-between-avoid-012.html (987B)
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/#break-propagation"> 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; height:150px;"> 8 <div style="height:100px; background:green;"></div> 9 <div style="height:30px; background:green;"></div> 10 <div style="float:left; width:50%;"> 11 <div style="height:10px; contain:size; background:green;"></div> 12 <div style="height:10px; contain:size; background:green;"></div> 13 </div> 14 <div style="break-before:avoid; break-inside:avoid;"> 15 <div style="margin-left:auto; width:50%; height:20px; background:green;"></div> 16 <div style="height:50px; background:green;"></div> 17 </div> 18 </div> 19 </div>