[whatwg/dom] Web reality: DOMTokenList's toggle() cannot always update the corresponding attribute (#451)

@smaug---- mentioned https://bugzilla.mozilla.org/show_bug.cgi?id=1360230 in #444. Which is a little sad, but also fine to fix.

So we basically want to go back to only invoking the "update steps" when we mutate the set first. Unclear if we should do the same for `replace()`. Given this is a special case it probably warrants a note as well.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/451

Received on Thursday, 27 April 2017 18:05:38 UTC