diff --git a/source b/source index bc75bc7e0e5..ad8bcfd5dd9 100644 --- a/source +++ b/source @@ -3413,6 +3413,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • valid attribute local name
  • valid element local name
  • is a global custom element registry
  • +
  • keep element custom element registry null
  • The following features are defined in UI Events: UIEVENTS

    @@ -13898,6 +13899,7 @@ https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%
  • autocorrect
  • autofocus
  • contenteditable
  • +
  • customelementregistry
  • dir
  • draggable
  • enterkeyhint
  • @@ -77450,6 +77452,14 @@ console.assert(el instanceof SpiderMan); // upgraded! CustomElementRegistry object, it intentionally cannot be changed any further. This simplifies reasoning about code and allows implementations to optimize.

    +

    The customelementregistry attribute

    + +

    The + customelementregistry + attribute is used to specify whether the parser should be + looking up a custom element registry + when the parser runs Create an element for the token. The value is boolean.

    +

    Upgrades

    @@ -139553,8 +139563,15 @@ dictionary StorageEventInit : EventInit {
  • Let is be the value of the "is" attribute in token, if such an attribute exists; otherwise null.

  • -
  • Let registry be the result of looking up a custom element registry given intendedParent.

  • +
  • Let registry be null if + customelementregistry attribute exists; + otherwise let registry be the result of + looking up a custom element registry + given intendedParent.

  • + +
  • Let keep registry null be true if + customelementregistry attribute exists; + otherwise false.

  • Let definition be the result of looking up a custom element definition given registry, @@ -139643,6 +139660,10 @@ dictionary StorageEventInit : EventInit { with the form element pointed to by the form element pointer and set element's parser inserted flag.

  • +
  • If keep registry null is true, set element's + keep element custom element registry null + to true. +

  • Return element.

  • @@ -153009,6 +153030,11 @@ interface External { "anonymous"; "use-credentials"; the empty string + + customelementregistry + HTML elements + Whether the element should use scoped custom element registry + Boolean attribute data object