tor-browser

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

page-size-015-print.tentative.html (694B)


      1 <!DOCTYPE html>
      2 <title>Viewport units in @page context are resolved against the default page box size</title>
      3 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
      4 <link rel="help" href="https://issues.chromium.org/issues/380860850">
      5 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/5437">
      6 <link rel="match" href="page-size-015-print-ref.html">
      7 <style>
      8  /* The default page box size in WPT is 5 by 3 inches. */
      9  @page {
     10    width: 150vw;
     11    height: 200vh;
     12    margin: 0;
     13 
     14    /* This has no effect, since both width and height are specified,
     15       using viewport units. */
     16    size: 1234px;
     17  }
     18 </style>
     19 The page size should be 7.5 by 6 inches.