[svgwg] Issue: Does the entire path need to be valid in order to use a path attribute on a textPath marked as Needs editing

AmeliaBR has just labeled an issue for https://github.com/w3c/svgwg as "Needs editing":

== 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.

See https://github.com/w3c/svgwg/issues/393

Received on Thursday, 20 September 2018 02:54:33 UTC