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

Re: [cssom] CSSStyleDeclaration

From: Simon Pieters <simonp@opera.com>
Date: Fri, 24 Feb 2012 07:28:44 +0100
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.v956x6gvidj3kv@simons-macbook-pro.local>
On Thu, 23 Feb 2012 17:19:05 +0100, Tab Atkins Jr. <jackalmage@gmail.com>  
wrote:

> On Thu, Feb 23, 2012 at 6:22 AM, Simon Pieters <simonp@opera.com> wrote:
>> http://dvcs.w3.org/hg/cssom/raw-file/tip/Overview.html/#cssstyledeclaration
>>
>> CSSStyleDeclaration should have a getter that "supports indexed  
>> properties".
>
> Yes, the current spec is woefully outdated.  In the upcoming update,
> it should switch to using the getter syntax so it's not necessary to
> try and list every CSS property.
>
> (Glenn, I need to send you the fix for that.  Do you mind if I just
> commit against the CSSOM repo, or would you prefer to receive the diff
> in email and do the commit yourself?)

That's nice, but wasn't what I asked for. :-) Supports indexed properties  
is to make style[0] etc work.

-- 
Simon Pieters
Opera Software
Received on Friday, 24 February 2012 06:31:54 GMT

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