Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/text/reftests/textpath-path-attr-use-up-to-first-error.tentative.svg - WPT Dashboard Interop Dashboard
<svg width="400" height="200" xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml">
<title>textPath path data is used up to the first parse error</title>
<metadata>
<html:link rel="author" title="Virali Purbey" href="mailto:viralipurbey@microsoft.com"/>
<html:link rel="help" href="https://svgwg.org/svg2-draft/text.html#TextPathElementPathAttribute"/>
<html:link rel="help" href="https://svgwg.org/svg2-draft/paths.html#PathDataErrorHandling"/>
<html:link rel="help" href="https://github.com/w3c/svgwg/issues/393"/>
<html:link rel="match" href="textpath-path-attr-ref.svg"/>
</metadata>
<text font-size="20" fill="black">
<textPath path="M 10 50 Q 100 10 200 50 T 390 50 INVALID">Text along a quadratic curve</textPath>
</text>
</svg>