Re: [dom] setAttributeNode should not change order of existing attributes (#116)

Judging only by the code, I think it would do the same as when `setAttribute` or `setAttributeNS` changes an existing attribute.

That's not perfect. It would be weird that you can replace the Attr node, but for mutation observers it would look like the attribute has changed, which shows that Attr isn't actually the internal representation.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/116#issuecomment-159228932

Received on Tuesday, 24 November 2015 10:55:59 UTC