tor-browser

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

transform-root-bg-001.html (1007B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>CSS Test (Transforms): scale(-1) on Root Element With Background</title>
      5    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
      6    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-rendering">
      7    <meta name="assert" content="The background here extends to the whole
      8    canvas, and a transform on the root element should not transform the
      9    canvas background. Thus the entire tiled background of left-pointing triangles
     10    should not be rotated. An implementation that doesn't draw the background
     11    correctly may rotate the background, or incorrectly clip it.">
     12    <link rel="match" href="transform-root-bg-001-ref.html">
     13    <style>
     14      html {
     15        background: url(support/transform-triangle-left.svg);
     16        transform: scale(-1);
     17      }
     18      body {
     19        /* The default 8px margin makes the background not line up exactly */
     20        margin: 0;
     21      }
     22    </style>
     23  </head>
     24  <body>
     25  </body>
     26 </html>