On 2009/02/18 16:08 (GMT) Nick Fitzsimons composed:

> Pixels in CSS don't mean what you think they mean: they are relative
> units, and aren't necessarily the same thing as the device pixels I
> suspect you have in mind:
> <http://www.w3.org/TR/CSS21/syndata.html#length-units>

Pointing out that the specs classify px as relative does a disservice.
"Relative to the viewing device" is an irrelevant relativity. The other spec
relatives relate to things the viewer can readily (if he knows how) adjust,
such as text size.

As a practical matter, the viewing device is non-adjustable, making the px a
fixed size. CRT users, and to a limited extent non-CRT users, can change
screen resolution, which changes the effective size of a software px, but
it's rarely practical for a typical user. One can at least theoretically
change the display to another, but even then, changing from one size to
another doesn't directly correlate to bigger or smaller px. Bigger displays
are about as likely to produce smaller objects as they are larger. Overall
within each of the laptop, desktop, and handheld ranges, DPI doesn't vary
particularly widely.

Someday maybe a device px will be able to be different from a CSS. But based
on the efforts to date to make it happen in Gecko, it could be a long time,
if it ever happens at all.
-- 
"Do not let any unwholesome talk come out of your
mouths, but only what is helpful for building
others up."                     Ephesians 4:29 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://fm.no-ip.com/
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to