diff --git a/dom.bs b/dom.bs index ebe4d797f..4ab0dac4d 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 ac1703607..da2b50a20 100644 --- a/dom.html +++ b/dom.html @@ -8,45 +8,6 @@ - - - -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:
*
" (U+002A), return a HTMLCollection
rooted at root, whose filter matches descendant elements.
@@ -3465,8 +3318,8 @@ 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
- limited-quirks mode, in §4.5
- list of elements with class names classNames, in §4.4
-
- list of elements with namespace
-namespace and local name localName, in §4.4
+
- list of elements with namespace namespace and local name localName, in §4.4
- list of elements with qualified name qualifiedName, in §4.4
- live, in §4.2.10
- live collection, in §4.2.10