Bug 26487

Summary: WebKit Normalizing Path Segments
Product: WebKit Reporter: Jeff Schiller <jeffschiller>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: adeveria, davinci, gavin, juraj.sukop, krit
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: webkit-unassigned@lists.webkit.org
Bug Depends on: 10827    
Bug Blocks:    
Attachments:
Description Flags
Test case revealing the problem. none

Jeff Schiller
Reported 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.
Attachments
Test case revealing the problem. (1.53 KB, image/svg+xml)
2009-06-17 11:21 PDT, Jeff Schiller
no flags
Jeff Schiller
Comment 1 2009-06-17 11:21:06 PDT
Created attachment 31427 [details] Test case revealing the problem. Mozilla and Opera both pass this test.
Cameron McCormack (:heycam)
Comment 2 2009-09-08 01:18:03 PDT
*** Bug 25968 has been marked as a duplicate of this bug. ***
Alexis Deveria
Comment 3 2009-10-08 10:47:49 PDT
*** Bug 30222 has been marked as a duplicate of this bug. ***
David Yonge-Mallo
Comment 4 2010-03-25 07:46:40 PDT
Fixing this bug would make bug 30219 much easier to fix properly as well.
Gavin Kistner
Comment 5 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.
Dirk Schulze
Comment 6 2016-10-12 05:27:08 PDT
normalized path methods were removed from SVG2
Note You need to log in before you can comment on or make changes to this bug.