summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/tspan-xy-ref.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/tspan-xy-ref.svg')
-rw-r--r--layout/reftests/svg/tspan-xy-ref.svg23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/svg/tspan-xy-ref.svg b/layout/reftests/svg/tspan-xy-ref.svg
new file mode 100644
index 0000000000..28c2b040d8
--- /dev/null
+++ b/layout/reftests/svg/tspan-xy-ref.svg
@@ -0,0 +1,23 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>Reference for tspan with ancestor x/y attributes</title>
+ <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=333698 -->
+ <text x="50 100 150" y="20 40 80 60">abcdef</text>
+
+ <g id="grid">
+ <line x1="10" y1="20" x2="200" y2="20" stroke="black"/>
+ <line x1="50" y1="10" x2="50" y2="100" stroke="black"/>
+
+ <line x1="10" y1="40" x2="200" y2="40" stroke="black"/>
+ <line x1="100" y1="10" x2="100" y2="100" stroke="black"/>
+
+ <line x1="10" y1="80" x2="200" y2="80" stroke="black"/>
+ <line x1="150" y1="10" x2="150" y2="100" stroke="black"/>
+
+ <line x1="10" y1="60" x2="200" y2="60" stroke="black"/>
+ </g>
+</svg>