Re: [WICG/webcomponents] [scoped-registries] Element upgrade ordering (#923)

The "frame tree" I'm thinking about is: since each `CustomElementRegistry` is created in a global object `Window`, we can (conceptually) traverse from this `Window` through the [`parent`](https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-parent) and [array index](https://html.spec.whatwg.org/multipage/nav-history-apis.html#windowproxy-getownproperty) getters and get a tree of windows. And the tree order of this tree is [well-defined as the insertion order](https://html.spec.whatwg.org/multipage/nav-history-apis.html#windowproxy-getownproperty). 

I assume there's no way to use a registry in an active document outside this tree, is that correct? If so then we can use this tree.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/923#issuecomment-1736039395
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/923/1736039395@github.com>

Received on Tuesday, 26 September 2023 18:11:14 UTC