tor-browser

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

svg-translate-041.html (1496B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <title>CSS Transforms Test: SVG presentation attribute and translate with translation-value unit less negative arguments in scientific notation with negative exponents</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/#svg-transform-value">
      8    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#svg-number">
      9    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions">
     10 	<link rel="help" href="http://www.w3.org/TR/css-transforms-1/#funcdef-transform-translate">
     11    <link rel="match" href="reference/svg-translate-ref.html">
     12    <meta name="flags" content="svg">
     13    <meta name="assert" content="The translate transform function must support unit less arguments in negative scientific numbers with negative exponents for translation-value. The rect in the test should be moved 50 pixels in the X direction and 50 pixels in the Y direction">
     14    <style type="text/css">
     15    svg {
     16        width: 300px;
     17        height: 300px;
     18    }
     19    </style>
     20 </head>
     21 <body>
     22    <p>The test passes if there is a green square and no red.</p>
     23    <svg>
     24        <rect x="51" y="51" width="98" height="98" fill="red"/>
     25        <rect x="100" y="100" width="100" height="100" fill="green" transform="translate(-500e-1 -500e-1)"/>
     26    </svg>
     27 </body>
     28 </html>