tor-browser

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

svg-transform-nested-013.html (1183B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <title>CSS Transforms Test: SVG presentation attribute, translateY on group, skewX 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="flags" content="svg">
     10    <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 translated vertically.  Additionally, the child rect should be skewed horizontally.">
     11    <style type="text/css">
     12    svg {
     13        width: 250px;
     14        height: 250px;
     15        background: green;
     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        <path d="M 2,26 100,26 198,124 100,124 Z" fill="red"/>
     23        <g transform="translate(0 25)">
     24            <rect width="100" height="100" fill="green" transform="skewX(45)"/>
     25        </g>
     26    </svg>
     27 </body>
     28 </html>