Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/text/textpath-anchor-middle.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<path id="p" d="M 0,100 h 200"/>
<text text-anchor="middle" style="font: 16px sans-serif"><textPath xlink:href="#p" startOffset="50%">ABCDE</textPath></text>
</svg>