W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

[whatwg] media types

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 21 Aug 2004 23:47:48 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0408212345370.20869@dhalsim.dreamhost.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:36 UTC