Bug 26487 - WebKit Normalizing Path Segments
: WebKit Normalizing Path Segments
Status: NEW
Product: WebKit
Classification: Unclassified
Component: SVG
: 528+ (Nightly build)
: Macintosh Mac OS X 10.5
: P2 Normal
Assigned To: Nobody
Depends on: 10827
  Show dependency treegraph
Reported: 2009-06-17 11:20 PDT by Jeff Schiller
Modified: 2014-05-12 05:27 PDT (History)
5 users (show)

See Also:

Test case revealing the problem. (1.53 KB, image/svg+xml)
2009-06-17 11:21 PDT, Jeff Schiller
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Schiller 2009-06-17 11:20:25 PDT
Attaching a test case which reveals that WebKit normalizes path segments (all straight segments become PATHSEG_LINETO_ABS).  It's my understanding based on http://www.w3.org/TR/SVG11/paths.html#InterfaceSVGAnimatedPathData that only normalizedPathSegList should have normalized segments and that pathSegList should contain the segments as they were written.
Comment 1 Jeff Schiller 2009-06-17 11:21:06 PDT
Created attachment 31427 [details]
Test case revealing the problem.

Mozilla and Opera both pass this test.
Comment 2 Cameron McCormack 2009-09-08 01:18:03 PDT
*** Bug 25968 has been marked as a duplicate of this bug. ***
Comment 3 Alexis Deveria 2009-10-08 10:47:49 PDT
*** Bug 30222 has been marked as a duplicate of this bug. ***
Comment 4 David Yonge-Mallo 2010-03-25 07:46:40 PDT
Fixing this bug would make bug 30219 much easier to fix properly as well.
Comment 5 Gavin Kistner 2012-03-12 19:11:31 PDT
The test case works correctly in Safari 5.1.3. I don't know when differentiated path segment types were added to the pathSegList, but they are there now (and have been for some time). I believe that this bug is fixed and should be closed.