tor-browser

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

tiled-background-image-with-content-dpr-ref.html (679B)


      1 <html>
      2  <head>
      3    <title>Content-DPR: css tiled background</title>
      4    <link rel="author" title="Noam Rosenthal" href="noam@webkit.org">
      5    <meta name="assert" content="Assert that content-dpr is taken into account for tiled background images">
      6    <style>
      7      #bg, #bg2 {
      8        background-image: url(resources/background.png);
      9        width: 32px;
     10        height: 32px;
     11      }
     12      #bg {
     13        background-size: 16px 16px;
     14      }
     15 
     16      #bg2 {
     17        background-size: 8px 8px;
     18      }
     19    </style>
     20  </head>
     21  <body>
     22  The next div should have 16 boxes
     23    <div id="bg">
     24    </div>
     25  The next div should have 64 boxes
     26    <div id="bg2">
     27    </div>
     28  </body>
     29 </html>