- From: Caridy Patiño <notifications@github.com>
- Date: Tue, 16 Mar 2021 10:29:06 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 16 March 2021 17:29:18 UTC
The aforementioned ordering issue, if it turns out that it is really needed, it looks to me like it is fatal. Now, I still don't understand the argument from @rniwa very well. As far as I understand, you only need to stop upgrading elements if the nearest declarative shadow has the custom register mark, otherwise you rely on the global registry. In other words:
```html
<my-element>
<template shadowroot="open" shadowrootregistry="">
<some-scoped-element>
<template shadowroot="open">
<some-other-element></some-other-element>
</template>
</some-scoped-element>
</template>
</my-element>
```
The `<some-other-element>` can be upgraded at any given time, in any given order, no matter what the status of `<some-scoped-element>` and `<my-element>` are at the time of the definition of `<some-other-element>`.
--
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-800462003
Received on Tuesday, 16 March 2021 17:29:18 UTC