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

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 UTC