W3C home > Mailing lists > Public > www-style@w3.org > May 2012

[cssom] CSSStyleDeclaration needs to support indexed access

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 13 May 2012 23:34:20 -0400
Message-ID: <4FB07D3C.2050907@mit.edu>
To: www-style@w3.org
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).

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

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 12:35:09 UTC