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-multiline.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<path id="p" d="M 100,100 h 400"/>
<text style="white-space: pre-line; line-height: 20px; font: 16px sans-serif">
<textPath xlink:href="#p">line 1
line 2
line 3</textPath>
</text>
</svg>