Re: [whatwg/dom] Side effects due to tree insertion or removal (script, iframe) (#808)

Yeah agreed. While we need to define state changes, their relative order is only important to the extent that it is observable through JavaScript.

And I personally think it would be great if JavaScript could be deferred as much as possible to the end, but mutation events are a major gotcha there. As I believe there is still some ambition to remove or change the timing of mutation events, I'm not sure we want to include them as part of this work. That would increase the complexity quite a bit.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/808#issuecomment-1431129386
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/808/1431129386@github.com>

Received on Wednesday, 15 February 2023 10:45:52 UTC