Re: [dom] Fix the adoption step when replacing node by child into parent (#121)

@smaug---- That being said, here is what the step 11 would like with the behaviour you want:

> * If child’s parent is null, let removedNodes be the empty list. [Note: The above can only happen if child is node.]
> * Otherwise, remove child from its parent with the suppress observers flag set and let removedNodes be a list containing solely child.

I still consider my patch to be cleaner and a better representation of what happens to the DOM.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/121#issuecomment-160228965

Received on Saturday, 28 November 2015 00:19:01 UTC