Bug 53189

Summary: SVG animation doesn't support calcMode discrete for number and color values.
Product: WebKit Reporter: Dirk Schulze <krit>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: http://dev.w3.org/SVG/profiles/1.1F2/test/svg/animate-elem-02-t.svg
Bug Depends on:    
Bug Blocks: 41761    
Attachments:
Description Flags
Patch zimmermann: review+

Dirk Schulze
Reported 2011-01-26 13:22:14 PST
SVG animation doesn't support calcMode discrete for number and color values.
Attachments
Patch (12.58 KB, patch)
2011-01-26 14:19 PST, Dirk Schulze
zimmermann: review+
Dirk Schulze
Comment 1 2011-01-26 13:24:04 PST
Can be seen in the link above, the rect size should jump and not be animated.
Dirk Schulze
Comment 2 2011-01-26 14:19:35 PST
Nikolas Zimmermann
Comment 3 2011-01-27 02:24:19 PST
Comment on attachment 80236 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=80236&action=review r=me. > Source/WebCore/svg/SVGAnimateElement.cpp:103 > + bool isInFirstHalfOfAnimation = percentage < 0.5; 0.5f? > LayoutTests/svg/animations/script-tests/animate-color-calcMode-discrete.js:38 > + ["animation", 0.001, "rect", sample1], Formatting, you should lign up the "rect" lines.
Dirk Schulze
Comment 4 2011-01-27 11:25:19 PST
Note You need to log in before you can comment on or make changes to this bug.