tor-browser

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

svg-translate-051.html (1203B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <title>CSS Transforms Test: SVG presentation attribute and translate with comma delimited arguments with no spaces</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-translate">
      9    <link rel="match" href="reference/svg-translate-ref.html">
     10    <meta name="flags" content="svg">
     11    <meta name="assert" content="The translate transform function arguments can be separated by an optional comma with no spaces. The rect in the test should be moved 50 pixels in the X direction and 50 pixels in the Y direction">
     12    <style type="text/css">
     13    svg {
     14        width: 300px;
     15        height: 300px;
     16    }
     17    </style>
     18 </head>
     19 <body>
     20    <p>The test passes if there is a green square and no red.</p>
     21    <svg>
     22        <rect x="51" y="51" width="98" height="98" fill="red"/>
     23        <rect width="100" height="100" fill="green" transform="translate(50,50)"/>
     24    </svg>
     25 </body>
     26 </html>