Re: Length unit relative to media width

>What we need might be a property that is a reference to the media 
>a html/css page is designed for. For instance a property that is only 
>used on the body element like this:
> 
>reference-type: client -width  |  media-width  |  none
>reference-pixels: <integer>
>reference-size: <length>
> 
>Short notation:
>body { reference:screen-width 1200  400mm}

Isn't this equivalent to stating the ppi value of the output device?
Currently, the CSS recommendation is 90ppi for CSS2 and corrected to
96ppi in CSS2.1 if I am right. It seems also to me that it's the UA's
responsibility to scale values given in px unit according to the assumed
absolute size of 1px.

This means that if you have designed your document with the assumption of
1px=1/96in, it will look exactly the same in absolute size on every monitor.

This also enables to scale the view (by artificially setting a different
base ppi value by/within the UA) and adapt to real available ppi on the
respective monitor (retrieved possibly using DDC or some other monitor
profile). This also enables a UA to display a document window spanning
over two monitors and displaying it at the same absolute size (i.e. in sync).

So, it seems to me that there is no action to be taken regarding on CSS' side?

Regards, Christian

Received on Thursday, 20 February 2003 05:57:06 UTC