W3C home > Mailing lists > Public > www-style@w3.org > October 2010

Re: about the use of pixels as a unit for typography

From: Peter Moulder <peter.moulder@monash.edu>
Date: Wed, 13 Oct 2010 15:08:09 +1100
To: www-style@w3.org
Message-id: <20101013040809.GA10739@bowman.infotech.monash.edu.au>
On Wed, Oct 13, 2010 at 07:41:49AM +1300, Robert O'Callahan wrote:
> On Wed, Oct 13, 2010 at 7:18 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:
> 
> > Hm, ok.  What about things like border-widths?  Should those still be
> > snapped to whole px in the actual value?
> 
> Yes, to avoid blurry edges. I'm not sure if that's still needed with 300dpi
> screens.
> 
> Note that such snapping may be better done at rendering time than layout (or
> style resolution) time. There's a set of tradeoffs there.

Existing provisions for this (which I think Tab Atkins may be referring to) are
at http://www.w3.org/TR/CSS21/cascade.html#actual-value

pjrm.
Received on Wednesday, 13 October 2010 04:08:42 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:32 GMT