[Webkit-unassigned] [Bug 20709] Implement HTML 5's HTMLElement.classList property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 12 17:58:22 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=20709





--- Comment #8 from Sylvain Pasche <sylvain.pasche at gmail.com>  2009-08-12 17:58:20 PDT ---
This feature was recently implemented in Gecko. You may be interested in the
automated test [1] that could be easily transformed into a layout test. There
are a few Gecko-isms that would need to be removed and you would need to
provide is()/ok() implementations.

In the current spec the mutating methods (add/remove/toggle) are preserving
whitespace. There was some discussions about an alternative approach of
normalizing whitespace, which could make implementation more straightforward
[2].
That change wasn't made for now, but if you think it would be better to go that
way that's something that could be considered.

[1]
http://hg.mozilla.org/mozilla-central/file/tip/content/base/test/test_classList.html
[2] http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-July/021653.html

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list