tor-browser

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

page-rule-specificity-002-print.html (760B)


      1 <!DOCTYPE html>
      2 <html>
      3  <meta charset="utf-8">
      4  <title>CSS Paged Media: @page without selector provides defaults</title>
      5  <link rel="author" title="Jonathan Watt" href="mailto:jwatt@jwatt.org"/>
      6  <link rel="help" href="https://drafts.csswg.org/css-page/#cascading-and-page-context"/>
      7  <meta name="assert" content="@page rule without a selector list should apply to pages not matched by rules with selectors">
      8  <link rel="match" href="page-rule-specificity-print-landscape-ref.html"/>
      9  <meta name="reftest-pages" content="2">
     10  <style>
     11 
     12 @page :first {
     13  size: portrait;
     14 }
     15 @page {
     16  size: landscape;
     17 }
     18 div:first-of-type {
     19  break-after: page;
     20 }
     21 body {
     22  margin: 0;
     23 }
     24 
     25  </style>
     26  <body>
     27    <div>Portrait</div>
     28    <div>Landscape</div>
     29  </body>
     30 </html>