diff --git a/source b/source index 859efba470b..e388e064e6f 100644 --- a/source +++ b/source @@ -3203,7 +3203,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
HTMLCollection
interface, its
@@ -12071,14 +12071,14 @@ document.createElement("bad-1"); // (2)
Let registry be null.
If current global object's active custom element constructor
+ If the surrounding agent's active custom element constructor
map[NewTarget] exists: Set registry to current global object's active custom
+ Set registry to the surrounding agent's active custom
element constructor map[NewTarget]. Remove current global object's
+ Remove the surrounding agent's
active custom element constructor map[NewTarget]. Each Each similar-origin window agent has an associated active custom element constructor map, which is a map of constructors to The Let registry be element's custom element registry. Set registry's relevant global
- object's active custom element constructor map[C] to
- registry. Set the surrounding agent's active custom
+ element constructor map[C] to registry. Run the following steps while catching any exceptions: Let registry be declarative shadow host element's custom element registry. If template start tag has a If declarative shadow host element is a shadow host, then
insert an element at the adjusted insertion location with
template. Set shadow's available to element internals to true. If template start tag has a
-
@@ -72692,9 +72692,9 @@ document.body.append(parent);
Window
object has an associated active custom
- element constructor map, which is a map of constructors to
- CustomElementRegistry
objects.CustomElementRegistry
objects.customElements
attribute of the
@@ -72711,8 +72711,8 @@ interface CustomElementRegistry {
Promise<CustomElementConstructor> whenDefined(DOMString name);
[CEReactions] undefined upgrade(Node root);
- HTMLElement createElement(DOMString name);
- Node cloneSubtree(Node root);
+ [CEReactions, NewObject] HTMLElement createElement(DOMString name);
+ [CEReactions, NewObject] Node cloneSubtree(Node root);
};
callback CustomElementConstructor = HTMLElement ();
@@ -73253,9 +73253,8 @@ customElements.define("x-foo", class extends HTMLElement {
shadowrootcustomelementregistry
- attribute, then set registry to null.shadowrootcustomelementregistry
+ attribute, then set shadow's keep custom element registry null to
+ true.