Re: [whatwg/dom] DOMTokenList.remove() can add an attribute (#462)

Another related issue about ```replace()```.

```
var c = document.createElement('div');
c.className = 'a a a b';
c.classList.replace('c', 'd');
alert('"' + c.getAttribute('class') + '"');
```

Both of Safari TP and Firefox nightly shows "a a a b" and Element-classlist.html expects it though it should be "a b" according to the DOM standard.


-- 
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/462#issuecomment-305378133

Received on Thursday, 1 June 2017 03:19:04 UTC