[whatwg] media types

On Mon, 26 Jul 2004, Mark Schenk wrote:
>
> For certain types of webapplications it would be very useful to know the 
> medium on which the document is being displayed, e.g. projection, 
> handheld, etc. Currently it is not possible to determine this easily 
> with scripting.
> 
> Therefor I would like to suggest a read-only "window.medium" set to a 
> media type ("screen" | "print" | "projection" | "tv" | "handheld" | 
> "speech" etc).

window.mediaMode

http://whatwg.org/specs/web-apps/current-work/#mediamode

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Saturday, 21 August 2004 16:47:48 UTC