summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/text/textpath-vertical-x.svg
blob: c94a6739b1780d41976370b66fa8e8f8a9ce9d17 (plain)
1
2
3
4
5
6
7
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>