diff --git a/dom.bs b/dom.bs index ebe4d797..4ab0dac4 100644 --- a/dom.bs +++ b/dom.bs @@ -5611,8 +5611,7 @@ behavior of the mutation algorithms.

window.customElements.define("sw-finn", class extends HTMLElement {}, { extends: "p" }) window.customElements.define("sw-kylo", class extends HTMLElement { constructor() { - super() - throw new Error("The droid... stole a freighter?") + // super() intentionally omitted for this example } }) </script> diff --git a/dom.html b/dom.html index ac170360..da2b50a2 100644 --- a/dom.html +++ b/dom.html @@ -8,45 +8,6 @@ - - - -

@@ -2726,7 +2579,7 @@

node document’s type has not changed, the same HTMLCollection object may be returned as returned by an earlier call.

-

The list of elements with namespace namespace and local name localName for a node root is the HTMLCollection returned by the following algorithm:

+

The list of elements with namespace namespace and local name localName for a node root is the HTMLCollection returned by the following algorithm:

  1. If namespace is the empty string, set it to null.
  2. If both namespace and localName are "*" (U+002A), return a HTMLCollection rooted at root, whose filter matches descendant elements. @@ -3465,8 +3318,8 @@

    custom". An element whose custom element state is "uncustomized" or "custom" is said to be defined. An element whose custom element state is "custom", is said to be custom.

    Whether or not an element is defined is used to determine the behavior of the :defined pseudo-class. Whether or not an element is custom is used to determine the behavior of the mutation algorithms.

    -
    - +
    +

    The following code illustrates elements in each of these three states:

    <!DOCTYPE html>
     <script>
    @@ -3474,8 +3327,7 @@ 

    window.customElements.define("sw-finn", class extends HTMLElement {}, { extends: "p" }) window.customElements.define("sw-kylo", class extends HTMLElement { constructor() { - super() - throw new Error("The droid... stole a freighter?") + // super() intentionally omitted for this example } }) </script> @@ -5981,8 +5833,7 @@

    light tree, in §4.2.2
  3. limited-quirks mode, in §4.5
  4. list of elements with class names classNames, in §4.4 -
  5. list of elements with namespace -namespace and local name localName, in §4.4 +
  6. list of elements with namespace namespace and local name localName, in §4.4
  7. list of elements with qualified name qualifiedName, in §4.4
  8. live, in §4.2.10
  9. live collection, in §4.2.10