- From: Aryeh Gregor <notifications@github.com>
- Date: Tue, 18 Apr 2017 06:13:33 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 18 April 2017 13:14:14 UTC
```html
data:text/html,<!doctype html>
<script>
var span = document.createElement("span");
span.setAttribute("class", "c b a");
span.classList.replace("c", "a");
document.documentElement.textContent = span.getAttribute("class");
</script>
```
You're right -- in Firefox, this is also "a b". So it seems to do the replace, then keep the first. Anyone want to test WebKit on this second test-case, and Edge on both?
--
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/442#issuecomment-294838069
Received on Tuesday, 18 April 2017 13:14:14 UTC