Re: [whatwg/dom] Spec for DOMTokenList stringifier disagrees with every single implementation (#105)

@foolip Test-case:

```
<!doctype html>
<div class=" a a"></div>
<script>
document.body.textContent = document.body.firstChild.classList;
</script>
```

Historically all browsers say " a a".  The proposed change to the spec would make it say "a", and WebKit reportedly already does.  I.e., stringifying classList removes duplicates and normalizes whitespace.

---
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/105#issuecomment-209971707

Received on Thursday, 14 April 2016 14:32:18 UTC