- From: Aryeh Gregor <notifications@github.com>
- Date: Thu, 14 Apr 2016 07:31:45 -0700
- To: whatwg/dom <dom@noreply.github.com>
Received on Thursday, 14 April 2016 14:32:18 UTC
@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