W3C home > Mailing lists > Public > public-cdf@w3.org > July 2006

Re: [WICD] How to create mixed SVG/CSS style sheets

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 23 Jul 2006 07:39:03 +0000 (UTC)
To: Chris Lilley <chris@w3.org>
Cc: public-cdf@w3.org
Message-ID: <Pine.LNX.4.62.0607230735040.2816@dhalsim.dreamhost.com>

On Fri, 21 Jul 2006, Chris Lilley wrote:
>> 
>> "px" in SVG has no relation to screen pixels, the unit "px" is defined 
>> to be equivalent to user units.
> 
> Yes, exactly. Note the order. Note that this is not commutative. User 
> units are not defined to be equivalent to px. Px are defined to be 
> equivalent to user units.
> 
> The difference is readily seen as soon as there is a viewBox or a 
> transform involved, ie most of the time.

There is never any time in SVG where the following two property attribute/ 
value pairs will result in different results:

   <... font-size="7">

   <... font-size="7px">

User units and "px" units are the same thing in SVG. It doesn't matter 
which "order" you think of it as. They are syntactically identical.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 23 July 2006 07:39:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:41 GMT