tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

contain-size-break-001.html (570B)


      1 <!DOCTYPE html>
      2 <html class="reftest-paged">
      3 <head>
      4 <meta charset="utf-8">
      5  <title>CSS Test: 'contain: size' should ignore breaks and force elements to be monolithic.</title>
      6  <style>
      7    .contain {
      8      contain:size;
      9    }
     10    .innerPageBreak {
     11      page-break-before: always;
     12      page-break-after: always;
     13    }
     14    .basicOuter {
     15      height: 20px;
     16      background: orange;
     17    }
     18  </style>
     19 </head>
     20  <body>
     21    <div class="contain basicOuter">
     22      before
     23      <div class="innerPageBreak">
     24      inside
     25      </div>
     26      after
     27    </div>
     28  </body>
     29 </html>