Re: [whatwg/dom] Declarative Shadow DOM (#831)

> @rniwa @mfreed7 [WICG/sanitizer-api#193](https://github.com/WICG/sanitizer-api/pull/193) made me realize that we currently don't restrict declarative shadow roots to elements that can have `ElementInternals`. But I think we should as only that will allow encapsulated usage. Thoughts?

Sorry - can you clarify? We currently restrict declarative shadow roots to only those things that support *shadow roots*, which is custom elements but also plain elements. Are you suggesting adding `ElementInternals` support to ordinary `<div>`s?

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

Message ID: <whatwg/dom/issues/831/1549931415@github.com>

Received on Tuesday, 16 May 2023 15:50:25 UTC