Bug 16111 - drop use of DOMStringList
Summary: drop use of DOMStringList
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
Depends on:
Reported: 2012-02-24 17:08 UTC by Glenn Adams
Modified: 2013-08-08 13:26 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Glenn Adams 2012-02-24 17:08:41 UTC
On Fri, Feb 24, 2012 at 3:39 AM, Anne van Kesteren <annevk@opera.com> wrote:
>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.
Comment 2 Glenn Adams 2013-04-25 14:38:47 UTC
(In reply to comment #1)
> http://lists.w3.org/Archives/Public/www-style/2013Apr/0592.html

what is the status of implementations use of DOMString[] vs DOMStringList?
Comment 3 Simon Pieters 2013-04-25 19:18:33 UTC
Reopening for <http://www.w3.org/mid/517944BA.7050506@mit.edu>
Comment 4 Simon Pieters 2013-04-25 19:21:10 UTC
(In reply to comment #2)
> what is the status of implementations use of DOMString[] vs DOMStringList?

Opera/Safari/Chrome/IE10 don't support document.styleSheetSets, so it should be OK to change it as far as Web compat goes.

Firefox supports document.styleSheetSets and returns DOMTokenList.
Comment 5 Simon Pieters 2013-04-26 09:22:01 UTC