summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/current-translate-01.svg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/svg/current-translate-01.svg8
1 files changed, 8 insertions, 0 deletions
diff --git a/layout/reftests/svg/current-translate-01.svg b/layout/reftests/svg/current-translate-01.svg
new file mode 100644
index 0000000000..27e7752624
--- /dev/null
+++ b/layout/reftests/svg/current-translate-01.svg
@@ -0,0 +1,8 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <script>
+ SVGPoint.prototype.setXY = function(c,d){this.x=c;this.y=d}
+ document.documentElement.currentTranslate.setXY(200, 200);
+ </script>
+ <rect width="100%" height="100%" fill="red"/>
+ <rect x="-200" y="-200" width="100%" height="100%" fill="lime"/>
+</svg>