[svgwg] Issue: 'pathLength' interaction with <textPath> with a percentage 'startOffset' marked as Agenda+

Tavmjong has just labeled an issue for https://github.com/w3c/svgwg as "Agenda+":

== 'pathLength' interaction with <textPath> with a percentage 'startOffset' ==
While 'pathLength' in combination 'startOffset' can be considered a no-op for most cases since it's technically just another mechanism for the same thing, and even if applied it should - in a perfect world - just cancel out (i.e something like: `offset-percentage / 100 * author-path-length * (computed-path-length / author-path-length)`.)
However, for a value of 0, per:

> A value of zero is valid and must be treated as a scaling factor of infinity. A value of zero scaled infinitely must remain zero, while any value greater than zero must become +Infinity.

(https://svgwg.org/svg2-draft/paths.html#PathLengthAttribute)

you'd expect that all 'startOffset's would map to 0? (There doesn't appear to be many implementations to check here ATM, but Gecko seems to treat '0' as an invalid value for 'pathLength' in general.)

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

Received on Friday, 29 June 2018 12:13:42 UTC