[Bug 20660] DOMTokenList list of tokens isn't properly initialised

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20660

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian@hixie.ch,
                   |                            |www-dom@w3.org
          Component|HTML                        |DOM
           Assignee|ian@hixie.ch                |annevk@annevk.nl
            Product|WHATWG                      |WebAppsWG
   Target Milestone|Unsorted                    |---
            Summary|DOMTokenList example        |DOMTokenList list of tokens
                   |conflicts with current DOM  |isn't properly initialised
                   |Standard's definition       |
         QA Contact|contributor@whatwg.org      |public-webapps-bugzilla@w3.
                   |                            |org

--- Comment #2 from Ian 'Hixie' Hickson <ian@hixie.ch> ---
DOMTokenList apparently changed from mutating an underlying string to directly
mutating an attribute. However, in doing this, the definition was broken — the
list of tokens is no longer properly initialised.

I've updated the HTML spec to use DOMTokenList as currently specified (which is
a normative change, it's not just the example that was wrong). Would be nice if
you'd file bugs on the HTML spec when you make API changes like this. Would be
even nicer not to make API changes like this. :-)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 10 April 2013 22:08:00 UTC