Re: [cssom] DOMStringList usage

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