Skip to content

Commit 4b0e773

Browse files
Add a feature for Scoped custom element registries (#3070)
* Add a feature for Scoped custom element registries * Apply suggestions from code review Co-authored-by: Patrick Brosset <[email protected]> * Update features/scoped-custom-element-registries.yml --------- Co-authored-by: Patrick Brosset <[email protected]>
1 parent 59c9c9f commit 4b0e773

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Scoped custom element registries
2+
description: The `CustomElementRegistry()` constructor creates a new custom element registry that's separate from the global `window.customElements` registry. Creating more than one registry is useful for multiple custom elements that have the same tag name to coexist.
3+
spec:
4+
- https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-api
5+
- https://dom.spec.whatwg.org/#element-custom-element-registry
6+
group: custom-elements
7+
compat_features:
8+
- api.CustomElementRegistry.CustomElementRegistry
9+
- api.CustomElementRegistry.initialize
10+
- api.Document.customElementRegistry
11+
- api.Element.customElementRegistry
12+
- api.HTMLTemplateElement.shadowRootCustomElementRegistry
13+
- api.ShadowRoot.customElementRegistry
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Generated from: scoped-custom-element-registries.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support: {}
7+
compat_features:
8+
- api.CustomElementRegistry.CustomElementRegistry
9+
- api.CustomElementRegistry.initialize
10+
- api.Document.customElementRegistry
11+
- api.Element.customElementRegistry
12+
- api.HTMLTemplateElement.shadowRootCustomElementRegistry
13+
- api.ShadowRoot.customElementRegistry

0 commit comments

Comments
 (0)