The CustomElementRegistry interface provides methods for registering custom elements and querying registered elements.
WHATWG
HTML Element Constructors
WPT
W3C
WHATWG
Definition Steps
- https://html.spec.whatwg.org/multipage/custom-elements.html#concept-custom-element-definition-name#element-definition
- Classless definition - WICG/webcomponents#587
Upgrade Steps
-
w3c/webcomponents: - WICG/webcomponents#710
-
WHATWG
- Element Upgrades Spec - https://html.spec.whatwg.org/multipage/custom-elements.html#upgrades
- Custom Element Registry Upgrade Spec - https://html.spec.whatwg.org/multipage/custom-elements.html#dom-customelementregistry-upgrade
- whatwg/html#3535
-
Webkit
-
web-platform-test
-
References
- "Dmitry's Brain Transplant" - https://wiki.whatwg.org/wiki/Custom_Elements#Upgrading