- From: Anne van Kesteren <fora@annevankesteren.nl>
- Date: Thu, 22 Dec 2005 18:38:24 +0100
- To: www-svg@w3.org
I was wondering about error handling with regard to the basic data types or perhaps how attribute values should be processed. Lets take the 'width' attribute of the svg:animation element as example[1]. As value it takes a <length> data type[2]. It is currently not clear to me in which of the following examples the specified value of 'width' would actually be used (assuming <length> is replaced by a valid <length> value): 1. <animation width="<length>"/> 3. <animation width=" <length>"/> 3. <animation width=" <length> "/> 4. <animation width=" <length>"/> ... et cetera. The definition of <length> does not mention the term "in error", which seems odd given that it easily can be in error. For example, # 47notaunit The sentence "SVG Tiny 1.2 only supports CSS units on the the 'width' and 'height' attributes on the 'svg' element." is also unclear to me. Is it meant here that UAs are only required to implement 'width' and 'height' when <length> contains a unit for the svg:svg element (and can optionally do so for other elements)? The phrase itself sounds more like some limitation from an implementation than something you'd read in a specification. Is the following a valid <length>: # 12eM ... when it is a value of an attribute? It would be valid in a text/css style sheet, but currently SVG 1.2 does not say anything about case-sensitivity. [1]<http://www.w3.org/TR/SVGMobile12/multimedia.html#AnimationElementWidthAttribute> [2]<http://www.w3.org/TR/SVGMobile12/types.html#DataTypeLength> -- Anne van Kesteren <http://annevankesteren.nl/>
Received on Thursday, 22 December 2005 17:38:45 UTC