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

Re: [cssom] DOMStringList usage

From: Simon Pieters <simonp@opera.com>
Date: Thu, 25 Apr 2013 14:51:01 +0200
To: "CSS WG" <www-style@w3.org>, "Anne van Kesteren" <annevk@opera.com>
Cc: "Glenn Adams" <glenn@skynav.com>
Message-ID: <op.wv3knbumidj3kv@simons-macbook-pro.local>
On Fri, 24 Feb 2012 11:39:49 +0100, Anne van Kesteren <annevk@opera.com>  
wrote:

> Hi,
>
> There's currently only a few APIs that use DOMStringList in the platform  
> and we are in the process of replacing them all with using arrays  
> instead. As they are all relatively new and not widely stable yet this  
> should not pose a big problem we think. Document.styleSheetSets is one  
> of five places that uses DOMStringList and it would be great if that  
> could be changed to DOMString[] instead.
>
> The DOM standard carries a warning on using DOMStringList for now, but  
> we plan on dropping it in due course unless something unforeseen comes  
> up.
>
> Kind regards,
>
> PS: If you want me to follow-up to a question, cc me.

Fixed (modulo https://www.w3.org/Bugs/Public/show_bug.cgi?id=21827 ).

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

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

-- 
Simon Pieters
Opera Software
Received on Thursday, 25 April 2013 12:51:37 UTC

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