tor-browser

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

page-name-and-break-002-print.html (629B)


      1 <!DOCTYPE html>
      2 <html>
      3  <title>CSS page name change and break-before: page at the same point.</title>
      4  <link rel="author" title="Emily McDonough" href="mailto:emcdonough@mozilla.com"/>
      5  <link rel="match" href="page-name-and-break-print-ref.html"/>
      6  <link rel="help" href="https://drafts.csswg.org/css-page-3/#page-breaks"/>
      7  <meta name="assert" content="Ensure CSS page name change and break-before: page at the same point only causes one page break."/>
      8  <style>
      9 .a {
     10    page: a;
     11 }
     12 .b {
     13    break-before: page;
     14    page: b;
     15 }
     16  </style>
     17  <body>
     18    <div class="a">AAA</div>
     19    <div class="b">BBB</div>
     20  </body>
     21 </html>