tor-browser

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

page-margin-negative-print.tentative.html (660B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
      3 <link rel="help" href="https://drafts.csswg.org/css-page-3/#page-properties">
      4 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/8508">
      5 <link rel="match" href="page-margin-negative-print-ref.tentative.html">
      6 <style>
      7  @page {
      8    size: 300px;
      9    margin: -20px;
     10  }
     11  :root {
     12    print-color-adjust: exact;
     13  }
     14  body {
     15    margin: 0;
     16    background: yellow;
     17  }
     18  .fullpager {
     19    width: 300px;
     20    height: 300px;
     21    border: 20px solid red;
     22    background: green;
     23  }
     24 </style>
     25 <div class="fullpager">
     26  Green background, no red / yellow.
     27 </div>