[svgwg] Does the entire path need to be valid in order to use a path attribute on a textPath

longsonr has just created a new issue for https://github.com/w3c/svgwg:

== Does the entire path need to be valid in order to use a path attribute on a textPath ==
Per https://www.w3.org/TR/SVG2/text.html#TextPathElement

If the ‘path’ attribute contains an error, the ‘href’ attribute must be used. 

I can understand that path="" or path="foo" might be ignored.

However, does this also mean that a path="M 100, 100 foo" is ignored? That seems inconsistent with path error handling where it says that they are rendered until an error occurs (https://www.w3.org/TR/SVG2/paths.html#PathDataErrorHandling)

I propose that path attributes be handled the same way as path rendering i.e. as long as the first element in the path is valid, the path would be used.

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/393 using your GitHub account

Received on Tuesday, 20 March 2018 01:39:52 UTC