Re: [dom] insert/remove hooks need to be invoked for ancestor changes too (#34)

Based on discussion with @coonsta we should make these changes:

* Where https://dom.spec.whatwg.org/#concept-node-remove makes range adjustments we also need to make `NodeIterator` adjustments and add an issue for focus adjustments.
* Where we run the removing steps we don't need to pass _oldPreviousSibling_ and per previous comments we need to invoke them for descendants too.
* We probably need a way for algorithms that hook into the removing steps to queue a follow up algorithm where they can run script. That queue is drained after all the removing steps have been called. This allows for implementing `<script>`. Not sure if there's anything else. We should make sure this doesn't negatively impact any range algorithms. (Or adjust them if it does.)
* Fullscreen and Pointer Lock should be able to make use of the generic hooks.

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

Received on Monday, 3 August 2015 12:31:05 UTC