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

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 UTC