Re: [dom] DOM should add hooks for sync events that happen during insert/remove operations (#57)

@annevk, I have been working with Edge devs on re-working our new DOM to handle synchronous callouts during tree mutation APIs (specifically for handling mutation events). We came up with some invariants that might be worth considering for the spec:

1. Tree operation primitives cannot fail (e.g., they must always succeed in the end)
2. 'Remove' tree primitive guarantees that on completion the target node has no parent.
3. 'Insert' tree primitive can assume that the target node has no parent.

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

Received on Tuesday, 21 July 2015 23:06:05 UTC