W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2002

Re Determining Browser Media Type Programatically

From: Philippe Le Hegaret <plh@w3.org>
Date: Mon, 28 Jan 2002 18:33:01 -0500
Message-ID: <3C55DFAD.7F9C5309@w3.org>
To: Dominic Chambers <dominic.chambers@bigfoot.com>
Cc: www-dom@w3.org
Dominic Chambers wrote:
> Hi there,  [Sorry this is late, and hope it is not irrelevant.]
> I am unable to see how a browser's media type can be determined
> programmatically via the DOM.
> Style sheets alone are often not enough for creating enhanced
> (accesibility++) media dependent content. At a minimum, I see the need for
> scripting enhancements for 'screen', 'tv' and 'projection'. I have no
> experience with the other types but feel they may also benefit from media
> dependent scripting.
> Yet, I can see no way of determining this.

There is no way to know the browser's media type. That should be part
of the Views and Formatting model IMHO.

But it is not going to help you a lot to know that unfortunately,

Received on Monday, 28 January 2002 18:41:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:09 UTC