W3C home > Mailing lists > Public > www-style@w3.org > March 2008

Re: [CSS21] [css3-values] px and device pixels

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sat, 22 Mar 2008 14:21:01 -0700
Message-ID: <47E5783D.9030209@inkedblade.net>
To: Brad Kemper <brkemper@comcast.net>
CC: Andrew Fedoniouk <news@terrainformatica.com>, www-style Mailing List <www-style@w3.org>

Brad Kemper wrote:
> On Mar 22, 2008, at 10:24 AM, Brad Kemper wrote:
>>> I'd suggest to introduce new length unit - physical pixel
>>> - that is "naked" number (without any special unit designator).
>> That would result in thicknesses that are vastly different when 
>> printed than they are on screen (about a hundred times smaller in my 
>> case). As an author, I can't see much use for that.
> I'll rescind this last statement. I can see use for it in a print only 
> style sheet, in limited circumstances where I know what the dpi of the 
> device is. But I'd be happier if I could just specify a 1/4 pixel line 
> for a printer and have it rounded to 19 pixels on a 9600 dpi printer. 
> I'm not sure if this actually happens in all browsers or not.

Fractional 'px' units are allowed. :) I'm not sure whether 0.25px will
show up on a 96dpi device, but it should show up on a 9600 dpi printer.

Received on Saturday, 22 March 2008 21:21:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:35 UTC