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

The intention of the quoted text is that, if the author has set pathLength="0", but the actual path length is non zero, then any effect set to use a position of 0 would use the exact start of the path, and any effect set to use any other positive position value would use the exact end of the path (clamped down from computed infinity).

I don't think we'd specifically thought about `startOffset`, and I'm pretty sure we didn't do the math on percentages.  In particular, what's unique about `startOffset` is that it _isn't_ supposed to clamp values. So the "infinity" interpretation becomes problematic.

So perhaps different text is required.

But to me, the guiding principle should be: if the author set `pathLength="0"`, they are expecting the path to behave as a zero-length path segment. (Which wouldn't fit any text on it at all.)

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

Received on Thursday, 8 February 2018 01:07:57 UTC