Bug 36729

Summary: SVG wrong Animation on 'to' or 'by' and missing 'from'
Product: WebKit Reporter: Dirk Schulze <krit>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: robin.qiu, robin.webkit, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on: 36704, 52982, 84968, 85051, 85071    
Bug Blocks: 41761    

Dirk Schulze
Reported 2010-03-28 12:50:28 PDT
The handling of missing 'from' is partly wrong. It often takes the standard values and not current or previous value af an attribute. Comments in the code talk about handling missing 'form' during animation, but this doesn't happen. This causes problems on Path, Color or Points-animations. Try to add tests later.
Attachments
Dirk Schulze
Comment 1 2011-01-23 14:27:06 PST
Color got fixed. Working on Path fix right now.
Nikolas Zimmermann
Comment 2 2012-04-25 02:11:35 PDT
I have a complete fix for all primitives, to correctly use either the previous value or the empty value (which has special meanings for eg. transforms: zero matrix needs to be used, not identity, etc.).
Nikolas Zimmermann
Comment 3 2012-04-28 04:21:18 PDT
Bug can be closed, its all fixed.
Note You need to log in before you can comment on or make changes to this bug.