tor-browser

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

contain-size-break-002.html (704B)


      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    table {
      8      background: lightblue;
      9      height: 1in;
     10      width: 1in;
     11    }
     12    .contain {
     13      contain:size;
     14    }
     15    .innerPageBreak {
     16      page-break-before: always;
     17      page-break-after: always;
     18    }
     19    .basicOuter {
     20      height: 20px;
     21      background: orange;
     22    }
     23  </style>
     24 </head>
     25  <body>
     26    <div class="contain basicOuter">
     27      <table border>
     28        <tr class="innerPageBreak"><td></td></tr>
     29        <tr class="innerPageBreak"><td></td></tr>
     30      </table>
     31    </div>
     32  </body>
     33 </html>