W3C home > Mailing lists > Public > www-svg@w3.org > March 2006

Re: attributeType=auto

From: Chris Lilley <chris@w3.org>
Date: Mon, 6 Mar 2006 11:05:22 +0100
Message-ID: <902067233.20060306110522@w3.org>
To: www-svg@w3.org
Cc: Eric Seidel <eseidel@apple.com>

Hello www-svg,

Eric Seidel <eseidel@apple.com> wrote:

> I noticed this evening, that given the current wording of the spec,
> this could produce different behavior in different user agents  
> depending on what CSS properties the user agent supported.

Yes. A case in point would be a compound document by inclusion (CDI)
implementation, where width and height are CSS properties and also they
are SVG attributes. As you note, the case for auto would give different
behaviour for a CDI implementation compared to a strictly SVG one. Both
can be animated, in this case, by explicitly specifying either css or
xml as values of attributeType.

> The working group might consider disambiguating this section of the  
> spec by specifying if all CSS properties that the user agent supports  
> are to be considered in this calculation or only CSS properties  
> defined by the SVG spec.

We agree and have disambiguated the text as follows:
  
  The implementation must first search through its list of supported CSS
  properties for a matching property name (all properties supported by
  the implementation, not just those defined by SVG), and if none is
  found, search the default XML namespace for the element.

Please let us know shortly if this does not satisfy your comment.

-- 
 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Monday, 6 March 2006 10:05:26 GMT

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