Path::pointAtLength() uses PathTraversalState to iterate through the segments. This comment says it all: "// FIXME: Need to actually find the exact point and change m_current".
For Path::normalAngleAtLength() to work the tangent slope calculation has to be corrected. Attaching patch to fix both.
*** Bug 12924 has been marked as a duplicate of this bug. ***
Created attachment 13419 [details]
Not marking for review, as it's probably not being accepted in the stabilization spree.
Created attachment 13420 [details]
Just realized that the pointAtLength() stuff is actally exposed via SVGPathElement's interfaces. We shouldn't release it that buggy - added new LayoutTest covering that these methods actually work. Not a P1, but still marking for review - as it would be annoying to release Safari with that bug.
Comment on attachment 13420 [details]
+ static float rad2deg = 180.0 / M_PI;
Really should include "const" in there too.
Is there a way to test this so that the results are numeric instead of visual? If so, I'd love to see a test like that as well as the visual one!
Landed in r19970.