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

SVG12: attributeType auto

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 11 Apr 2005 00:17:17 +0200
To: www-svg@w3.org
Message-ID: <4328a5ea.137840421@smtp.bjoern.hoehrmann.de>

Dear Scalable Vector Graphics Working Group,

  It seems http://www.w3.org/TR/2004/WD-SVG12-20041027/ is unclear about
the definition of attributeType = "auto". While attributeType = "CSS" is
defined as 'This specifies that the value of "attributeName" is the name
of a CSS property defined as animatable in this specification' "auto" is
defined as 'The implementation must first search through the list of CSS
properties for a matching property name'; this seems inconsistent. It is
in particular unclear how this interacts with properties not defined in
the draft.

For example, in a XHTML+CSS2+SVG document it seems that

  <rect ...>
    <set attributeName = 'height' attributeType = 'CSS' ... />

would have no effect while

  <rect ...>
    <set attributeName = 'height' attributeType = 'auto' ... />

would (not necessarily on the height of the rect but on the computed
value of the height property such that descendants inherit a different
value due to the animation). Please change the draft such that it de-
fines "auto" in terms of the "CSS" and "XML" values rather than with a
separate definition.

Further, please change the definition of the "CSS" value to state more
clearly which properties are considered. While SVG limits the properties
required by pure SVG implementations, the CSS model does not have such
a constraint, and it is thus highly unclear when attributeType must be
set to "XML" in order to avoid animating the wrong value.

regards.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Sunday, 10 April 2005 22:16:55 GMT

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