You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -123,7 +124,20 @@ The following new Web API features are included in Microsoft Edge.
123
124
124
125
125
126
<!-- ------------------------------ -->
126
-
#### LCP: match spec'd behavior for emitting candidates
127
+
#### Scoped custom element registries
128
+
129
+
You can now create custom element registries that are separate from the global `window.customElements` registry, by using the `CustomElementRegistry()` constructor.
130
+
131
+
Creating custom registries is useful for allowing the coexistence of multiple custom elements that have the same tag name.
132
+
133
+
For example, if you have two different versions of a library that both define a `<my-button>` custom element, you can create separate registries for each version of the library, to avoid naming conflicts.
134
+
135
+
See also:
136
+
*[CustomElementRegistry: CustomElementRegistry() constructor](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/CustomElementRegistry) at MDN.
137
+
138
+
139
+
<!-- ------------------------------ -->
140
+
#### LCP matches spec'd behavior for emitting candidates
127
141
128
142
The Largest Contentful Paint (LCP) algorithm now emits candidates based on painted content. This aligns the algorithm with the latest behavior per the specification.
129
143
@@ -134,7 +148,7 @@ See also:
134
148
135
149
136
150
<!-- ------------------------------ -->
137
-
#### Navigation API: add post-commit handler from precommit
151
+
#### Navigation API: Add post-commit handler from precommit
138
152
139
153
When handling a `navigate` event, you can now register post-commit work while executing precommit logic.
0 commit comments