Re: [whatwg/dom] DOMTokenList.add/remove normalize dupes/whitespace even if they're no-ops, but .toggle doesn't (#443)

No-op .replace() also doesn't normalize.  If force-toggle is being changed, then it makes sense to change replace also, so that all of them are consistent.

I didn't test browser behavior for any of this, but I volunteer to update Firefox if the spec changes.  (Assuming the reviewers are okay with the change, obviously.)

-- 
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/443#issuecomment-295231061

Received on Wednesday, 19 April 2017 11:50:28 UTC