Question about the ED version of animateColor

Hi,

The new version of animateColor in [1], specify that:
"In the case of 'currentColor' and 'inherit', if these evaluate to a
color then all animation modes may be used. Otherwise, and in the case
where 'none' is specified, only discrete animation may be used"

However, it is possible that trough other animations the animation has
to switch from a discrete animation to another mode. This would be
equivalent to animating the calcMode, which is explicitly not allowed in
the 1.2 Tiny version at least.


Example:
<circle r="50" cx="390" cy="100" fill="none">
 <set attributeName="fill" begin="2.5s" to="red"/>
 <animateColor attributeName="fill" dur="5s" to="green" fill="freeze"/>
</circle>

>From 0 to 2.5 the animateColor calcMode is discrete, but from 2.5 to 5s
it is linear (the default value).

Is that the intended behaviour ? 

This means that in this special case the calcMode of a given animation
would be modified... This is really not a trivial implementation
problem.

Additional note:

Let see the example below taken from the testset
http://dev.w3.org/SVG/profiles/1.2T/test/htmlEmbedHarness/animate-elem-2
27-t.html

<circle r="50" cx="390" cy="220" fill="yellow">
 <animateColor attributeName="fill" dur="5s" to="none" fill="freeze"/>
</circle>

According to the operator script:
"the circle at the bottom right (with a green fill) disappears at 2.5
seconds (discrete animation)"

However according to SMILE [2]:
<Since a to animation has only 1 value, a discrete to animation will
simply set the to value for the simple duration >

I see some contradiction here.... 

Why should the value change at 2.5s in this case?


Thanks you in advance for the explanation.


Julien


[1]
http://dev.w3.org/SVG/profiles/1.2T/publish/animate.html#AnimateColorEle
ment
[2]
http://www.w3.org/TR/2005/REC-SMIL2-20050107/animation.html#animationNS-
ToAnimation
-------------------------------------------------------------

Julien Reichel, PhD
Technology Architect, SpinetiX S.A.
PSE-C, CH-1015, Lausanne, Switzerland

Tel:     +41 (0) 21 693 89 81
Mail:   julien.reichel@spinetix.com
Get Information : http://www.spinetix.com

-------------------------------------------------------------

 
 

Received on Wednesday, 6 August 2008 20:15:06 UTC