summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/styling/render/transform.svg
blob: 1924026f98ba568795e1dcf81a34e24e8e730924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:h="http://www.w3.org/1999/xhtml"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     width="300" height="200" viewBox="0 0 300 200">
  <metadata>
    <h:link rel="help" href="https://svgwg.org/svg2-draft/styling.html#RequiredProperties"/>
    <h:link rel="match" href="transform-ref.svg"/>
    <h:meta name="assert" content="The transform property impacts SVG rendering."/>
  </metadata>

  <style>
    rect {
      fill: cyan;
      transform: translate(29px, 11px);
    }
  </style>
  <rect x="140" y="130" width="40" height="10" />
</svg>