Re: [svgwg] Does the entire path need to be valid in order to use a path attribute on a textPath (#393)

https://w3c.github.io/svgwg/svg2-draft/text.html#:~:text=attribute%20contains%20an%20error%2C

The sentences is still in there:
> If the ‘[path](https://w3c.github.io/svgwg/svg2-draft/text.html#TextPathElementPathAttribute)’ attribute contains an error, the ‘[href](https://w3c.github.io/svgwg/svg2-draft/text.html#TextPathElementHrefAttribute)’ attribute must be used.

Yes we could remove it.

From https://w3c.github.io/svgwg/svg2-draft/text.html#TextPathElement
1. Click on path https://w3c.github.io/svgwg/svg2-draft/text.html#TextPathElementPathAttribute
2. Click on path data https://w3c.github.io/svgwg/svg2-draft/paths.html#PathDataBNF

At the bottom, it says:

> The EBNF allows the path data string in the [d](https://w3c.github.io/svgwg/svg2-draft/paths.html#DProperty) property to be empty. An empty path data string disables rendering of the path. Rendering is also disabled when the [d](https://w3c.github.io/svgwg/svg2-draft/paths.html#DProperty) property has the value none.
> 
> If path data not matching the grammar is encountered, then the path data is in error (see [Error Handling](https://w3c.github.io/svgwg/svg2-draft/paths.html#PathDataErrorHandling)).

3. Click on error handling https://w3c.github.io/svgwg/svg2-draft/paths.html#PathDataErrorHandling

which addresses the issues about invalid path data.

-- 
GitHub Notification of comment by karlcow
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/393#issuecomment-3875137607 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 10 February 2026 03:38:46 UTC