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

https://lists.w3.org/Archives/Public/public-webapps/2015AprJun/0617.html seems key. The processing model we end up with is that whenever "insertion steps" and "removing steps" run now, we instead run them for all inclusive descendants, in tree order, with a "noscript flag" set. Then we run them again, without that flag set.

In addition we need to pass in context about which node we run the steps for and which node was actually removed/inserted. 

Seems fairly trivial.

Are there any tricky cases with compound insertions/removals? If you insert a `DocumentFragment` or remove all children, what kind of tree does each notification see? I suspect it's per individual insertion/removal, but it would be good to have that confirmed.

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

Received on Tuesday, 28 July 2015 11:48:44 UTC