Bug 26487 - WebKit Normalizing Path Segments
: WebKit Normalizing Path Segments
Status: NEW
: WebKit
SVG
: 528+ (Nightly build)
: Macintosh Mac OS X 10.5
: P2 Normal
Assigned To:
:
:
: 10827
:
  Show dependency treegraph
 
Reported: 2009-06-17 11:20 PST by
Modified: 2012-03-12 19:11 PST (History)


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


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-06-17 11:20:25 PST
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 From 2009-06-17 11:21:06 PST -------
Created an attachment (id=31427) [details]
Test case revealing the problem.

Mozilla and Opera both pass this test.
------- Comment #2 From 2009-09-08 01:18:03 PST -------
*** Bug 25968 has been marked as a duplicate of this bug. ***
------- Comment #3 From 2009-10-08 10:47:49 PST -------
*** Bug 30222 has been marked as a duplicate of this bug. ***
------- Comment #4 From 2010-03-25 07:46:40 PST -------
Fixing this bug would make bug 30219 much easier to fix properly as well.
------- Comment #5 From 2012-03-12 19:11:31 PST -------
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.