- From: Ryosuke Niwa <notifications@github.com>
- Date: Mon, 10 Aug 2020 12:32:25 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 10 August 2020 19:32:38 UTC
> But didn't that discussion block the previous attempts and would slow down the creation and adoption of this feature in the first place? It most certainly would. So I think the answer to @plinss's comment in https://github.com/w3ctag/design-reviews/issues/494#issuecomment-647831832 is that we cannot. In particular, once script element is inserted into a shadow root which is connected, the script within will start executing synchronously. As a result, the process of inserting nodes into a shadow root is synchronously observable. If HTML is streamed into a shadow root, then the script execution will reveal the state of streaming for that precise reason. In addition, various events such as `load` event would fire for other elements as they get inserted into a connected shadow root so they too pose a significant script observable behavior difference. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/831#issuecomment-671545842
Received on Monday, 10 August 2020 19:32:38 UTC