[whatwg] to use pixels a DPI should be defined in hader of each page
Ian Hickson
ian at hixie.ch
Tue Jul 22 02:24:13 PDT 2008
On Tue, 22 Jul 2008, Shimon Doodkin Support wrote:
>
> in now days we have different sizes of displays some of them huge with
> low resolution and some of them normal but with very tiny dots. usually
> the DPI of the development machine is matching the dpi of the VIEWER but
> sometimes it doesn't when progress comes and new displays with higher
> DPI are manufactured no one buy them because all the text will be very
> small and unreadable.
The CSS spec defines the "pixel" as a nominal 96dpi relative unit, to
avoid this very problem. HTML5 uses "CSS pixels" whenever discussing
dimensions. <canvas> supports higher resolution backing stores.
This as far as I can tell HTML5 already deals with this.
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list