W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > November 2012

[Bug 20104] Algorithm for DOMTokenList.add seems wrong if tokens are present multiple times in the list

From: <bugzilla@jessica.w3.org>
Date: Wed, 28 Nov 2012 19:35:03 +0000
To: public-webapps-bugzilla@w3.org
Message-ID: <bug-20104-2532-zH8N748dis@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20104

--- Comment #6 from Anne <annevk@annevk.nl> ---
The following is my plan:

DOMTokenList represents an ordered set (with set guaranteeing uniqueness, of
course).

Manipulating its associated attribute (e.g. class="") seeds DOMTokenList.

Manipulating DOMTokenList seeds its associated attribute (a simple
serialization of the ordered set, tokens separated by U+0020).

Somehow we avoid loops. DOMSettableTokenList does the same.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 28 November 2012 19:35:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 28 November 2012 19:35:05 GMT