tor-browser

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

svg-scale-006.html (1136B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <title>CSS Transforms Test: SVG presentation attribute and scale horizontally 0.5 and vertically 1.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="The green rect in the test should be scaled down horizontally and up vertically to form a square and completely cover the red rect.">
     12    <style type="text/css">
     13        svg {
     14            width: 500px;
     15            height: 500px;
     16        }
     17    </style>
     18 </head>
     19 <body>
     20    <p>The test passes if you see a green square and no red.</p>
     21    <svg>
     22        <rect x="1" y="1" width="198" height="198" fill="red"/>
     23        <rect width="400" height="133.333" fill="green" transform="scale(0.5, 1.5)"/>
     24    </svg>
     25 </body>
     26 </html>