[WICG/webcomponents] [Scoped registry] Clarify relationship with shadow roots (PR #965)

After reading through this proposal, I was a bit confused about the relationship between shadow roots and custom elements. It took me a moment to realize that custom elements' definitions are not defined by the shadow root _attached_ to them, but instead to the shadow root that _contains_ them.

This PR adds some clarifying notes that hopefully would help others reading this document. (Assuming that my interpretation is correct. 🙂)
You can view, comment on, or merge this pull request online at:

  https://github.com/WICG/webcomponents/pull/965


-- Commit Summary --

  * Clarify relationship between scoped registries and shadow roots

-- File Changes --

    M proposals/Scoped-Custom-Element-Registries.md (19)

-- Patch Links --

https://github.com/WICG/webcomponents/pull/965.patch

https://github.com/WICG/webcomponents/pull/965.diff


-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/pull/965

You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/pull/965@github.com>

Received on Wednesday, 10 August 2022 18:54:47 UTC