On Tue, Jul 31, 2012 at 12:07 AM, Jukka K. Korpela <jkorp...@cs.tut.fi> wrote: > > 2012-07-31 3:32, Josh Rehman wrote: > >> The screen resolution thing is a non-issue because the CSS px >> is defined to be an angular measure: > > > The reality is different from the spec, as one can see from the discussion of > the topic in the relevant CSS3 draft: > http://www.w3.org/TR/css3-values/#absolute-lengths > The px unit may relate to the so-called reference pixel, or it may be > anchored to a physical unit (1/96 of an inch, when "inch" really means an > inch, 25.4 mm).
Well, no. I re-read the spec and found no mention of an ambiguity. A pixel is defined assuming 96dpi and is an angular measure. From the URL you cite: "The reference pixel is the visual angle of one pixel on a device with a pixel density of 96dpi and a distance from the reader of an arm's length. For a nominal arm's length of 28 inches, the visual angle is therefore about 0.0213 degrees. For reading at arm's length, 1px thus corresponds to about 0.26 mm (1/96 inch)." The spec goes on to give examples of converting reference pixels into real pixels. ______________________________________________________________________ css-discuss [css-d@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/