tor-browser

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

svg-scale-014.html (1209B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <title>CSS Transforms Test: SVG presentation attribute and scale horizontally -1.25 and vertically -0.5</title>
      5    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com">
      6    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#svg-transform">
      7    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions">
      8    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#funcdef-transform-scale">
      9    <link rel="match" href="reference/svg-scale-ref.html">
     10    <meta name="flags" content="svg">
     11    <meta name="assert" content="Scaling by a negative value should flip the element. The green rect in this test should be flipped downward and rightward into view and scaled up horizontally and down vertically to completely cover the red background.">
     12    <style type="text/css">
     13        svg {
     14            width: 200px;
     15            height: 200px;
     16            background: red;
     17        }
     18    </style>
     19 </head>
     20 <body>
     21    <p>The test passes if you see a green square and no red.</p>
     22    <svg>
     23        <rect x="-160" y="-400" width="160" height="400" fill="green" transform="scale(-1.25, -0.5)"/>
     24    </svg>
     25 </body>
     26 </html>