summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/svg-transform-02.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/svg-transform-02.svg')
-rw-r--r--layout/reftests/svg/svg-transform-02.svg16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/svg/svg-transform-02.svg b/layout/reftests/svg/svg-transform-02.svg
new file mode 100644
index 000000000..53f6718c9
--- /dev/null
+++ b/layout/reftests/svg/svg-transform-02.svg
@@ -0,0 +1,16 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
+ <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=863994 -->
+
+ <rect width="100%" height="100%" fill="lime"/>
+
+ <svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" x="100" y="100" viewBox="0 0 640 480">
+ <rect width="100%" height="100%" fill="red"/>
+ </svg>
+ <svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" x="100" y="100" viewBox="0 0 640 480" transform="translate(0, 0)">
+ <rect width="100%" height="100%" fill="lime"/>
+ </svg>
+</svg>