[cssom] CSSStyleDeclaration needs to support indexed access

The IDL at 
http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface says:

   DOMString item(unsigned long index);

but I believe this should be:

   getter DOMString item(unsigned long index);

I just checked, and Presto, Trident, Gecko, and WebKit all support 
indexed access on CSSStyleDeclarations (or at least on the .style 
property of HTML elements).

-Boris

Received on Monday, 14 May 2012 03:34:50 UTC