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

IE11 and Edge doesn't support `replace` method. Also Firefox Dev is not correct here:
```
data:text/html,<!doctype html>
<script>
var span = document.createElement("span");
span.setAttribute("class", "a a");
span.classList.replace("b", "c");
document.documentElement.textContent = span.className;
</script>
``` 
outputs "a a". It's nice to finally you make changes to the sets on Firefox.

-- 
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-295352493

Received on Wednesday, 19 April 2017 17:19:29 UTC