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

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 UTC