Bug 80758

Summary: Enable animVal support for SVGTransformList
Product: WebKit Reporter: Nikolas Zimmermann <zimmermann>
Component: SVGAssignee: Nikolas Zimmermann <zimmermann>
Status: RESOLVED FIXED    
Severity: Normal CC: rakuco, webkit.review.bot, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 12437, 80750    
Bug Blocks: 41761    
Attachments:
Description Flags
Draft patch
none
Patch koivisto: review+

Description Nikolas Zimmermann 2012-03-10 07:33:40 PST
Introduce SVGAnimatedTransformList, to handle transform lists like any other lists within the SVGAnimatedType concept.
This allow us to completely remove the SVGAnimateTransformElement implementation and make SVGAnimateTransformElement inherit from SVGAnimateElement instead.
As side-effect this gives full animVal support for <animateTransform>.

This bug depends on both the initial animVal patch at bug 12437 plus the patch at bug 80750 adding support for SVGLengthList.
Comment 1 Nikolas Zimmermann 2012-03-10 07:34:47 PST
Created attachment 131173 [details]
Draft patch

Not meant for review yet - depends on both patches mentioned in the description.
Comment 2 Nikolas Zimmermann 2012-03-15 04:01:40 PDT
Created attachment 132016 [details]
Patch
Comment 3 Antti Koivisto 2012-03-15 04:26:23 PDT
Comment on attachment 132016 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=132016&action=review

r=me

> Source/WebCore/svg/SVGAnimatedTransformList.cpp:3
> +/*
> + * Copyright (C) Research In Motion Limited 2012. All rights reserved.
> + *

You might want to preserve the copyright as this code is at least based on the original code.

> Source/WebCore/svg/SVGAnimatedTransformList.cpp:92
> +    // âtoâ attribute value, which conflicts mathematically with the requirement for additive transform animations

Strange characters around 'to', but maybe it is just bugzilla?
Comment 4 Nikolas Zimmermann 2012-03-15 06:11:31 PDT
Committed r110838: <http://trac.webkit.org/changeset/110838>