standards-positions icon indicating copy to clipboard operation
standards-positions copied to clipboard

Scoped Custom Element Registries

Open thescientist13 opened this issue 3 years ago • 2 comments

Request for position on an emerging web specification

(Please delete inapplicable rows.)

  • WebKittens who can provide input: @rniwa

Information about the spec

  • Spec Title: Scoped Custom Element Registries
  • Spec URL: https://github.com/WICG/webcomponents/issues/716
  • GitHub repository:
  • Issue Tracker (if not the repository's issue tracker): https://github.com/WICG/webcomponents/issues/716
  • Explainer (if not README.md in the repository): https://github.com/WICG/webcomponents/blob/gh-pages/proposals/Scoped-Custom-Element-Registries.md

Additionally, here is a writeup from the WCCG that was presented at last year's TPAC https://w3c.github.io/webcomponents-cg/#scoped-element-registries

Design reviews and vendor positions

  • TAG Design Review:
  • Mozilla standards-positions issue: https://github.com/mozilla/standards-positions/issues/424

Bugs tracking this feature

  • WebKit Bugzilla: https://bugs.webkit.org/show_bug.cgi?id=267454
  • Radar:

Anything else we need to know

Brief summary of the issue or the subject of the spec. (taken from the OP)

The global registry is a possible source of name collisions that may arise from coincidence, or from an app trying to define multiple versions of the same element, or from more advanced scenarios like registering mocks during tests, or a component explicitly replacing an element definition for its scope. ... This proposal adds the ability to construct CustomElementRegistrys and chain them in order to inherit custom element definitions. It uses ShadowRoot as a scope for definitions.

thescientist13 avatar Jul 17 '22 16:07 thescientist13

This is a bit tricky. Overall colleagues and I have been supportive of this effort, but since the proposal is still not finalized we cannot really provide a definitive position at this point. The details matter, after all. If our feedback continues to be taken into account it seems likely we'd end up supporting this though.

annevk avatar Nov 28 '22 14:11 annevk

https://bugs.webkit.org/show_bug.cgi?id=267454

keithamus avatar Jan 12 '24 14:01 keithamus