W3C home > Mailing lists > Public > www-style@w3.org > August 2009

Media interface Re: [cssom-view] new WD of CSSOM View Module

From: Simon Fraser <smfr@me.com>
Date: Wed, 05 Aug 2009 17:34:47 -0700
Cc: Anne van Kesteren <annevk@opera.com>
Message-id: <CF99D112-73A3-4632-A611-E4D19FE70002@me.com>
To: W3C style mailing list <www-style@w3.org>
On Aug 4, 2009, at 9:38 AM, Bert Bos wrote:

> The CSS WG published an update of the CSSOM View module:
>
>    http://www.w3.org/TR/2009/WD-cssom-view-20090804/

The Media interface on AbstractView effectively adds a property called  
'media' to the window object. There is a high probability that this  
will conflict with web sites that have global variables called  
'media' (for example, this happened in the WebKit layout tests).

There is also terminology conflict with the HTML 5 media elements. The  
term 'media' is already rather overloaded.

I suggest that the 'media' property on AbstractView be changed to make  
such conflicts less likely. Perhaps using 'css' in the name would help.

Simon
Received on Thursday, 6 August 2009 00:36:29 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:20 GMT