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

Re: animate-elem-46-t.svg

From: Anthony Grasso <anthony.grasso@cisra.canon.com.au>
Date: Mon, 07 Jun 2010 10:57:27 +1000
Message-ID: <4C0C43F7.5030301@cisra.canon.com.au>
To: Robert Longson <longsonr@gmail.com>
CC: www-svg@w3.org
Hi Robert,

I see what you're saying with the test. I did a quick check of the CSS spec [1] 
and all the examples have units specified for 'font-size'. I couldn't see 
anywhere in the spec about what to do if no units are specified or if it is 
invalid to have no units. I'm not a CSS expert, but I'm just wondering if a 
certain unit (e.g. "em") is used if no other unit is specified?

Let me know what you think. If you still think it's a problem we should be able 
to easily fix it.

Cheers,

Anthony

[1] http://www.w3.org/TR/CSS21/fonts.html#font-size-props

Robert Longson wrote:
> Hi,
> 
> This test contains the following:
> 
> <animate xlink:href="#textID_1" attributeName="font-size"
> values="30;12;30" dur="3s" fill="freeze"/>
> 
> However font-size is should have units if it is defined by CSS and the
> default value for attributeType is "auto" which means use CSS if
> possible. Thus this animation is invalid.
> 
> Can the three animations of font-size in the test be changed so that either
> 
> a) they specify attributeType="XML"
> 
> or
> 
> b) specify units for the font-size values.
> 
> I'd suggest a) is simplest
> 
> Best regards
> 
> Robert.
> 
Received on Monday, 7 June 2010 00:58:03 GMT

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