summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/978911-1.svg
blob: aa4e341a171e8116ad762db009c3571b430a1f87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="reftest-wait">
  <title>The circle should shrink and move to upper-left a bit.
         It should remain a circle, with no artifacts left behind.</title>
  <script>
    document.addEventListener("MozReftestInvalidate", doTest, false);
    function doTest() {
      document.getElementById("target").setAttribute("transform", "scale(1.8)");
      document.documentElement.removeAttribute("class");
    }
  </script>
  <defs>
    <circle id="smiley" fill="orange" cx="50" cy="50" r="20"/>
  </defs>
  <use id="target" xlink:href="#smiley" transform="scale(2)"/>
</svg>