tor-browser

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

svg-skewy-001.html (1346B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <title>CSS Transforms Test: SVG presentation attribute and angle argument without unit on skewY</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-skewy">
      9    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#svg-transform-value">
     10    <link rel="match" href="reference/svg-skewy-ref.html">
     11    <meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-104">
     12    <meta name="flags" content="svg">
     13    <meta name="assert" content="The skewY transform function must support unit less arguments for angle. The green rect in this test should be skewed vertically 45 degrees to completely cover the red path.">
     14    <style type="text/css">
     15        svg {
     16            width: 250px;
     17            height: 250px;
     18            background: green;
     19        }
     20    </style>
     21 </head>
     22 <body>
     23    <p>The test passes if there is a green square and no red.</p>
     24    <svg>
     25        <path d="M 1,2 2,99 99,197 99,101 Z" fill="red"/>
     26        <rect width="100" height="100" fill="green" transform="skewY(45)"/>
     27    </svg>
     28 </body>
     29 </html>