Bug 19741

Summary: Changing an SVGPathSeg does not update a following Smooth Cubic Curveto
Product: WebKit Reporter: Audun Wilhelmsen <skyfex>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: krit, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Bug Depends on: 10827    
Bug Blocks:    
Attachments:
Description Flags
A testcase none

Audun Wilhelmsen
Reported 2008-06-24 02:38:04 PDT
Changing the coordinates of a path segment does not update the automatic control point for the next smooth cubic curveto segment.
Attachments
A testcase (1.30 KB, image/svg+xml)
2008-06-24 02:40 PDT, Audun Wilhelmsen
no flags
Audun Wilhelmsen
Comment 1 2008-06-24 02:40:53 PDT
Created attachment 21900 [details] A testcase We have a path with a move to and a smooth curveto segment. The move to is moved by a timed javascript, showing that the automatic control point for the smooth curveto segment is not updated.
Eric Seidel (no email)
Comment 2 2008-07-03 22:02:25 PDT
Our behavior is not identical to FF. I can't get Opera to launch on my machine... :( From the test case it's not very easy to tell if something is wrong or not... but I do think we might have an issue here. A better test case would make it very clear if the behavior is correct or not (by showing only green on pass and red on fail, or showing some pass/fail text, etc.)
Rob Buis
Comment 3 2008-07-05 12:29:15 PDT
(In reply to comment #2) > Our behavior is not identical to FF. I can't get Opera to launch on my > machine... :( From the test case it's not very easy to tell if something is > wrong or not... but I do think we might have an issue here. A better test case > would make it very clear if the behavior is correct or not (by showing only > green on pass and red on fail, or showing some pass/fail text, etc.) Opera behaves the same as FF here. The problem is that we expose only moveto, lineto and cubic curveto in this interface, not the smooth one. Likely the right fix would be to do expose them (lazily), and internally use some quick format. I wonder if there already is a bug for this... Cheers, Rob.
Rob Buis
Comment 4 2008-07-05 12:33:10 PDT
Ok, a bug that is slightly related that I was hinting at is bug 10827. I am having a look at fixing that as it should solve this problem AFAICS. Cheers, Rob.
Nikolas Zimmermann
Comment 5 2010-11-17 06:35:55 PST
*** This bug has been marked as a duplicate of bug 49580 ***
Note You need to log in before you can comment on or make changes to this bug.