summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/text/textpath-vertical-x.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/text/textpath-vertical-x.svg')
-rw-r--r--layout/reftests/svg/text/textpath-vertical-x.svg8
1 files changed, 8 insertions, 0 deletions
diff --git a/layout/reftests/svg/text/textpath-vertical-x.svg b/layout/reftests/svg/text/textpath-vertical-x.svg
new file mode 100644
index 0000000000..c94a6739b1
--- /dev/null
+++ b/layout/reftests/svg/text/textpath-vertical-x.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 x="16"><textPath xlink:href="#p">中国 China</textPath></text>
+</svg>