break-at-end-container-edge-002.html (886B)
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/#possible-breaks"> 4 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 5 <meta name="assert" content="We should break between the first two lines (class B breakpoint, also honoring widows), rather than inside the container padding"> 6 <style> 7 .child { display:inline-block; vertical-align:top; width:100%; height:30px; line-height:30px; } 8 </style> 9 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 10 <div style="columns:2; column-fill:auto; column-gap:0; width:100px; height:100px; orphans:1; widows:2; background:red;"> 11 <div style="padding-bottom:40px; background:green;"> 12 <div class="child"></div> 13 <div class="child"></div> 14 <div class="child"></div> 15 </div> 16 </div>