diff --git a/source b/source index cc562b68e17..14224a9236d 100644 --- a/source +++ b/source @@ -66871,6 +66871,9 @@ customElements.define("x-foo", class extends HTMLElement { does.

+
  • Set element's custom element state to "precustomized".

  • +
  • Let constructResult be the result of constructing C, with no @@ -66930,7 +66933,8 @@ customElements.define("x-foo", class extends HTMLElement {

    If the above steps threw an exception, then element's custom - element state will remain "failed".

    + element state will remain "failed" or "precustomized".

  • @@ -67435,6 +67439,10 @@ dictionary ValidityStateFlags {
  • If element's attached internals is true, then throw an "NotSupportedError" DOMException.

  • +
  • If element's custom element state is not "precustomized" or "custom", then throw a + "NotSupportedError" DOMException.

  • +
  • Set element's attached internals to true.

  • Create a new ElementInternals instance