- From: Ryosuke Niwa <notifications@github.com>
- Date: Sat, 10 Feb 2024 19:01:14 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 11 February 2024 03:01:20 UTC
> Forgive me if this has been recommended and I missed it, but it seems like the issue isn’t so much about styles specifically, but that Shadow DOM was originally built as an all-or-nothing API. This recommendation seeks to allow disabling a feature in the same way that `mode: "open"` did. What if, instead of debating how to allow people to opt out, we instead look at a way to make Shadow DOM features individually opt-in with feature flags? We could treat `mode` more akin to `<iframe>`’s `sandbox` attribute. That's an interesting idea but could you file a separate issue with use cases for each token value you're suggesting there? It's unclear to me why are use cases for not encapsulating IDs or events, or what it means for shadow root(s) to not have those encapsulations but we need to keep this issue focused on addressing the styling issue, not zillion of other questions that might arise from each proposed solution. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/909#issuecomment-1937404592 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/909/1937404592@github.com>
Received on Sunday, 11 February 2024 03:01:20 UTC