[dom] Make two loops to adopt a node (#71)

@Ms2ger pointed out to me that the fix introduced in #66 is less than perfect, because the unsuspecting loop over node's inclusive descendants mean running their adopting steps in a tree of which nodes are owned by two different documents.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/dom/pull/71

-- Commit Summary --

  * Make two loops to adopt a node

-- File Changes --

    M dom.bs (15)
    M dom.html (10)

-- Patch Links --

https://github.com/whatwg/dom/pull/71.patch
https://github.com/whatwg/dom/pull/71.diff

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

Received on Monday, 7 September 2015 07:17:46 UTC