W3C home > Mailing lists > Public > www-svg@w3.org > June 2010

Re: animate-elem-46-t.svg

From: Chris Lilley <chris@w3.org>
Date: Mon, 7 Jun 2010 13:59:06 +0200
Message-ID: <1473532757.20100607135906@w3.org>
To: "Dr. Olaf Hoffmann" <Dr.O.Hoffmann@gmx.de>
CC: www-svg@w3.org
On Monday, June 7, 2010, 10:37:10 AM, Dr. wrote:

DOH> ....

>> <animate xlink:href="#textID_1" attributeName="font-size"
>> values="30;12;30" dur="3s" fill="freeze"/>

DOH> ....

DOH> The lengths are in an XML attribute and the recommendation
DOH> notes in the chapter 'Basic Data Types' about lengths:
DOH> "A length is a distance measurement. The format of a <length> is a <number>
DOH> optionally followed immediately by a unit identifier. (Note that the 
DOH> specification of a <number> is different for property values than for XML
DOH> attribute values.)".
DOH> I think, in the 1.1 second edition draft there is some more wording added
DOH> about this SVG-CSS incompatibility problem.

Right. 

DOH> Therefore only if the length appears within CSS notations (property values),
DOH> one has to add a unit.

Almost. Only if the length appears in a CSS stylesheet, one has to add a unit.

Otherwise, units may be and often are omitted. So that the SVG is, well, Scalable. :)


-- 
 Chris Lilley                    mailto:chris@w3.org
 Technical Director, Interaction Domain
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Monday, 7 June 2010 11:59:13 GMT

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