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

Do we need the "without that flag set" part? Could we rely on nanotask queue to process whatever
insertion/removing steps need to do at safe time?


In Gecko inserting DocumentFragment does cause inserting its children one by one, and
depending on whether one is inserting or appending, ContentInserted or ContentAppended
is called. ContentAppended is effectively just an optimization where you need to just tell the first
node which was appended. Probably not something we need to expose to the web. Though, MutationObserver gets just one record when DocumentFragment is inserted.

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

Received on Tuesday, 28 July 2015 14:14:55 UTC