W3C home > Mailing lists > Public > www-svg@w3.org > January 2008

SVGT1.2: Usage of currentColor in animations

From: Kalle Raita <kraita@nvidia.com>
Date: Wed, 9 Jan 2008 10:44:55 +0100
Message-ID: <85DD8D3F1695004A8A9A5AC16CE584BE04A8CE1B@deemmail01.nvidia.com>
To: <www-svg@w3.org>

Hi,
 
The issue in nutshell is that animation properties are not intended to be changed, but value of the currentColor can be animated.

Björn Höhrmann has discussed the usage of currentColor in animations in two mails:
http://lists.w3.org/Archives/Public/www-svg/2005Dec/0137.html
http://lists.w3.org/Archives/Public/www-svg/2006Aug/0009.html
and I didn't find any reply or resolution to the issues in the mailing list. 

Our solution for the issue would be that the animated value of the currentColor is used for computing the animation when it starts. Changing the currentColor after the animation has started won't affect the animation anymore. Is there some language in the specification that would make this implementation illegal?

Conformance tests animate-elem-84-t and animate-elem-85-t use the currentColor in both from and to attributes.
 
Yours, 
  - Kalle Raita


Kalle Raita 
NVIDIA Corporation 
Tel. +358 40 723 1441 
kraita@nvidia.com 
http://eu.nvidia.com <http://eu.nvidia.com/>  

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
Received on Wednesday, 9 January 2008 09:53:11 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:38 GMT