tor-browser

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

svg-transform-nested-019.html (1242B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <title>CSS Transforms Test: SVG presentation attribute, skewY on group, translate on child</title>
      5    <link rel="author" title="David Alcala" href="mailto:dalcala@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="match" href="reference/svg-green-square-250x250-ref.html">
      9    <meta name="fuzzy" content="maxDifference=0-2;totalPixels=0-400">
     10    <meta name="flags" content="svg">
     11    <meta name="assert" content="Transforms on a parent element should be pre-multiplied to transforms on a child element.  The group of elements should be skewed vertically.  Additionally, the child rect should be translated.">
     12    <style type="text/css">
     13    svg {
     14        width: 250px;
     15        height: 250px;
     16        background: green;
     17    }
     18    </style>
     19 </head>
     20 <body>
     21    <p>The test passes if there is a green square and no red.</p>
     22    <svg>
     23        <path d="M 21,43 21,139 119,237 119,141 Z" fill="red"/>
     24        <g transform="skewY(45)">
     25            <rect width="100" height="100" fill="green" transform="translate(20 20)"/>
     26        </g>
     27    </svg>
     28 </body>
     29 </html>