RESOLVED DUPLICATE of bug 20709 26358
Implement HTML 5's HTMLElement.classList property
https://bugs.webkit.org/show_bug.cgi?id=26358
Summary Implement HTML 5's HTMLElement.classList property
Adam Roben (:aroben)
Reported Friday, June 12, 2009 11:35:36 PM UTC
HTML 5 adds a "classList" property to HTMLElement. The classList property makes it easy to add, remove, and toggle classes on an Element. We should implement support for this in WebKit! See <http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-classlist> for a little bit of information about classList, and <http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#domtokenlist-0> for information about the DOMTokenList interface, which is the interface the object returned by classList implements.
Attachments
Adam Roben (:aroben)
Comment 1 Monday, June 15, 2009 4:57:11 PM UTC
Adam Roben (:aroben)
Comment 2 Monday, June 15, 2009 4:58:44 PM UTC
I sent an email to the WHATWG mailing list asking about the case-sensitivity of element.classList methods: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-June/020425.html>.
Adam Roben (:aroben)
Comment 3 Tuesday, June 16, 2009 2:45:45 PM UTC
*** This bug has been marked as a duplicate of 20709 ***
Note You need to log in before you can comment on or make changes to this bug.