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

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 UTC