- From: Mason Freed <notifications@github.com>
- Date: Wed, 24 Jun 2020 16:39:02 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 24 June 2020 23:39:15 UTC
One [suggestion](https://github.com/w3ctag/design-reviews/issues/494#issuecomment-647831832) came up in my TAG review related to the streaming concern. The idea was that perhaps we could specify declarative Shadow DOM in such a way that streaming support was implementation-**optional**. Support for attaching the shadow root at the closing `</template>` tag would be mandatory, but implementations could optionally decide to attach the shadow root at the opening `<template shadowroot>` tag, and parse child content directly into the `#shadowroot`. Because it is optional, implementations that did not want to tackle this more difficult streaming option could opt out. There would always need to be a developer opt-out, such as: ```html <template shadowroot="open" do-not-stream> <content> </template> <!-- Shadow root always attached here --> ``` We would also likely need a way to feature-detect support for streaming. Thoughts? -- 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-649129302
Received on Wednesday, 24 June 2020 23:39:15 UTC