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 CGReceived on Monday, 7 June 2010 11:59:13 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:26 UTC