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

Re: [cssom] DOMStringList usage

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 25 Apr 2013 10:59:06 -0400
Message-ID: <517944BA.7050506@mit.edu>
To: www-style@w3.org
On 4/25/13 8:51 AM, Simon Pieters wrote:
> Fixed (modulo https://www.w3.org/Bugs/Public/show_bug.cgi?id=21827 ).
>
> https://dvcs.w3.org/hg/csswg/rev/b4e2a9a9114c

Welcome to the hell that is using IDL arrays.  You at least need to 
define in prose which of the three totally different kinds of IDL arrays 
you're returning, because they all look identical in the IDL.  Once 
that's done it'll be possible to evaluate whether we have the behavior 
we want... :(

> https://dvcs.w3.org/hg/csswg/rev/378779e5e3bb

That's really really bad.  Incredibly bad.  Other specs don't have this 
problem; why does this one?  :(

Can we put this note in the IDL itself somehow?

> Does anyone have an opinion about changing the other list types?
> StyleSheetList, CSSRuleList, MediaList?

Are we 100% sure that no one is using .item() on any of those?

-Boris
Received on Thursday, 25 April 2013 14:59:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:10 UTC