summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/978911-1.svg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/978911-1.svg15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/bugs/978911-1.svg b/layout/reftests/bugs/978911-1.svg
new file mode 100644
index 0000000000..aa4e341a17
--- /dev/null
+++ b/layout/reftests/bugs/978911-1.svg
@@ -0,0 +1,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>