-
Notifications
You must be signed in to change notification settings - Fork 177
Closed
Labels
feature definitionCreating or defining new features or groups of features.Creating or defining new features or groups of features.
Description
Specification
https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-api
Description
window.customElements
isn't the only way to register custom elements anymore and the spec allows the creation of scoped custom element registries by instantiating the CustomElementRegistry
interface.
Documentation
Documentation doesn't exist yet, but the following mdn/content and mdn/browser-compat-data issues exist:
- Scoped Custom Element Registries mdn/content#38266
- api.CustomElementRegistry - Scoped custom element registry, Safari TP 214 supports constructor mdn/browser-compat-data#27035
Browser support
Safari TP 214 has support for the feature: https://developer.apple.com/documentation/safari-technology-preview-release-notes/stp-release-214#Web-API
Chromium's support is from 2022 (bug), but the spec changed last year, see whatwg/html#10854 and the new chromium bug. So, it's probably fair to assume that the feature is not supported in Chromium.
Metadata
Metadata
Assignees
Labels
feature definitionCreating or defining new features or groups of features.Creating or defining new features or groups of features.