- From: TAMURA, Kent <notifications@github.com>
- Date: Wed, 31 May 2017 20:18:29 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 1 June 2017 03:19:04 UTC
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