tor-browser

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

svg-skewx-001.html (1279B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <title>CSS Transforms Test: SVG presentation attribute and angle argument without unit on skewX</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-skewx">
      9    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#svg-transform-value">
     10    <link rel="match" href="reference/svg-skewx-ref.html">
     11    <meta name="flags" content="svg">
     12    <meta name="assert" content="The skewX transform function must support unit less arguments for angle. The green rect in this test should be skewed horizontally 45 degrees to completely cover the red path.">
     13    <style type="text/css">
     14        svg {
     15            height: 250px;
     16            width: 250px;
     17            background: green;
     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        <path d="M 2,1 100,1 198,99 101,99 Z" fill="red"/>
     25        <rect width="100" height="100" fill="green" transform="skewX(45)"/>
     26    </svg>
     27 </body>
     28 </html>