This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://dom.spec.whatwg.org/#interface-domtokenlist [[ A DOMTokenList object has an associated ordered set of tokens, which is initially empty. ]] "tokens" is never updated. The underlying content attribute should be parsed to update "tokens" when the object is created and whenever the content attribute is set, changed, or removed.
*** This bug has been marked as a duplicate of bug 20660 ***