[svgwg] 'pathLength' interaction with <textPath> with a percentage 'startOffset'

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

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

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

Received on Wednesday, 31 January 2018 13:41:17 UTC