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

Re: animate-elem-46-t.svg

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 06 Jun 2010 23:24:54 -0400
Message-ID: <4C0C6686.7070909@mit.edu>
To: anthony.grasso@cisra.canon.com.au
CC: Robert Longson <longsonr@gmail.com>, www-svg@w3.org
On 6/6/10 8:57 PM, Anthony Grasso wrote:
> 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?

The <length> production in CSS requires a unit for all nonzero lengths. 
  If there is no unit, the declaration is discarded (or if we're talking 
about line-height the number is treated in a special way, but as a 
<number>, not a <length>).

Received on Monday, 7 June 2010 03:31:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:26 UTC