W3C home > Mailing lists > Public > public-html@w3.org > October 2008

Web-mobile : having a @media on script ?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 12 Oct 2008 21:37:52 -0400
Message-ID: <48F2A670.8070809@mit.edu>
To: HTML WG <public-html@w3.org>

Olivier GENDRIN wrote:
> Yesterday, Charles McCathieNevile gave a talk in Paris [1] about the
> web mobile. During the QA session, we came to talk about
> (java)scripts, and the conclusion was that some scripts where intended
> to be used with media=screen, and where useless/counterproductive with
> media=handheld.
> What do think of having :
> - a media property on script ?

What happens if the same document is being rendered to multiple media at
once?  Or switches media during the lifetime of the document?

> - or a window.media value accessible for javascript ?

Same questions apply here, I would think.

Received on Monday, 13 October 2008 01:38:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:23 GMT