summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/text/textpath-vertical-dx.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/text/textpath-vertical-dx.svg')
-rw-r--r--layout/reftests/svg/text/textpath-vertical-dx.svg8
1 files changed, 8 insertions, 0 deletions
diff --git a/layout/reftests/svg/text/textpath-vertical-dx.svg b/layout/reftests/svg/text/textpath-vertical-dx.svg
new file mode 100644
index 0000000000..92657cd3c2
--- /dev/null
+++ b/layout/reftests/svg/text/textpath-vertical-dx.svg
@@ -0,0 +1,8 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <style>
+ path { stroke: red; }
+ text { writing-mode: vertical-rl; font: 24px sans-serif; }
+ </style>
+ <path id="p" d="M 40,40 v 150"/>
+ <text dx="16"><textPath xlink:href="#p">中国 China</textPath></text>
+</svg>