[Bug 23712] DOMTokenList needs a way to conditionally set or remove

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

Glenn Maynard <glenn@zewt.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |glenn@zewt.org

--- Comment #2 from Glenn Maynard <glenn@zewt.org> ---
FWIW, I didn't know it did that, and I've always overridden .set to have that
behavior.  I think it makes more intuitive sense on .set than on .toggle, eg.
classList.set("foo", true).

But it seems to be implemented already on .toggle in Chrome (not Firefox), and
I guess it's not enough of a difference to change it now.

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

Received on Monday, 4 November 2013 02:20:29 UTC