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: Fri, 21 Jul 2006 10:32:31 +0000 (UTC)
To: public-cdf@w3.org
Message-ID: <Pine.LNX.4.62.0607211030420.4826@dhalsim.dreamhost.com>

On Wed, 19 Jul 2006, Chris Lilley wrote:
> 
> Bert wrote:
> >
> > E.g., in an SVG style sheet, you can write
> > 
> >     font-size: 7
> > 
> > which is defined to be the same as
> > 
> >     font-size: 7px
> 
> (Sort of. 7px is defined to be the same as 7 user units. if that gets
> scaled, the result could be very far from 7 screen pixels)

Not "sort of", Bert is exactly correct -- in SVG, the two declarations 
above are defined to be exactly equivalent to each other. "px" in SVG has 
no relation to screen pixels, the unit "px" is defined to be equivalent to 
user units.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 21 July 2006 10:32:37 GMT

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