- From: Justin Fagnani <notifications@github.com>
- Date: Sat, 13 Mar 2021 10:22:01 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 13 March 2021 18:22:13 UTC
This seems fine to me, but maybe I should spell out that implication? I'm not quite how it could be any other way, since imperatively created shadow roots using scoped registries would have been created in top-down order, with each shadow root being created with a scoped registry. With the "Find a Custom Element Registry" change we have in the explainer: > The registry is found by getting the context node's root. If the root has a CustomElementRegistry, use that registry to look up the definition, otherwise use the global objects CustomElementRegistry object. we allow for shadow roots that use the global registry to be descendants of shadow roots with a scoped registry. This does allow those nested roots to have their custom elements upgraded. The `shadowrootregistry` attribute to opt-in to a null registry works for that case. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/914#issuecomment-798738147
Received on Saturday, 13 March 2021 18:22:13 UTC