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

The Gecko implementation is pretty much step by step identical to the spec, with the additional complication that Attr nodes are not what's stored in the element's list.  They are reified as needed; the actual thing stored in the list is just the name and value.  So there is some additional complication in terms of keeping the Attr nodes and actual attributes in sync.  

I _think_ we could add a replace thing on top of all that stuff, though.

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

Received on Monday, 23 November 2015 15:26:05 UTC