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

Re: [cssom] CSSStyleDeclaration needs to support indexed access

From: Simon Pieters <simonp@opera.com>
Date: Tue, 28 May 2013 15:41:09 +0200
To: www-style@w3.org, "Boris Zbarsky" <bzbarsky@mit.edu>
Message-ID: <op.wxsqyv0lidj3kv@simons-macbook-pro.local>
On Mon, 14 May 2012 05:34:20 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> 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).

https://dvcs.w3.org/hg/csswg/rev/8f01b1522548

-- 
Simon Pieters
Opera Software
Received on Tuesday, 28 May 2013 13:41:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:30 UTC