summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/text/textpath-vertical-dx.svg
blob: 92657cd3c222a5e7678bc219f3d0a68886648116 (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 dx="16"><textPath xlink:href="#p">中国 China</textPath></text>
</svg>