Re: [WICG/webcomponents] [scoped-registries] Interaction with declarative shadow DOM (#914)

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