W3C home > Mailing lists > Public > www-svg@w3.org > October 2005

Re: SVG12: !important in property animation

From: Chris Lilley <chris@w3.org>
Date: Mon, 24 Oct 2005 22:52:32 +0200
Message-ID: <1529597816.20051024225232@w3.org>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: www-svg@w3.org

On Monday, July 4, 2005, 4:26:59 AM, Bjoern wrote:

BH> Dear Scalable Vector Graphics Working Group,

BH>   http://www.w3.org/TR/2005/WD-SVGMobile12-20050413/animate.html seems
BH> clear that animation like <set attributeName="fill" to="red!important"
... />> is allowed

We can find nothing in the specification that licenses such usage. The
specification clearly states that animation allows different values over
time. There is no mention of a 'declaration' being allowed, only a
'value'. Please see
for the definitions of these terms.

... />>  and this is indeed properly implemented in e.g. Amaya
BH> and ASV6; Opera8 however fails to implement this correctly.

It seems on the contrary that Opera8 is correct.

BH> Please change the draft such that this is more explicit.

We find the table in section "Paced animation and complex types" useful
here. There is no mention of a type that includes a CSS declaration. It
therefore seems to be explicit in this regard.

BH> (Of course, for
BH> attributeType="XML" this would not be allowed as "red!important" is not
BH> a legal value for the fill attribute per the existing rules).

It is not a value for either attributeType="XML or for
attributeType="CSS". The difference between these two is to be found in
the case where an XML attribute exists, a CSS property of the same name
exists, and the CSS property is not expressed in the XML syntax as an
attribute. In the case of such a clash, attributeType allows them to be

Please let us know if you do not agree with this explanation. We do not
find a need to change the specification in response to this comment.
However, we would be sympathetic to adding an explicit waring that the
syntax you suggested above is not allowed. Please let us know if you
still think such a warning would be useful.

 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Monday, 24 October 2005 20:53:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:04 UTC