From d645d1d04e65c1eb94b6e400fc060cca8b956e6e Mon Sep 17 00:00:00 2001
From: Domenic Denicola
If name is blink
, bgsound
, isindex
,
+
If name is bgsound
, blink
, isindex
,
multicol
, nextid
, or spacer
, return
HTMLUnknownElement
.
If this specification defines an interface appropriate for the element type corresponding - to the local name name, return that interface.
If name is acronym
, basefont
, big
,
+ center
, listing
, nobr
, noembed
,
+ noframes
, plaintext
, rb
, rtc
,
+ strike
, tt
, or xmp
, return
+ HTMLElement
.
If this specifications defines the element type corresponding to the local name
- name, but not an interface, return HTMLElement
.
Otherwise, if this specification defines an interface appropriate for the element + type corresponding to the local name name, return that interface.
If other applicable specifications define such an appropriate interface for +
If other applicable specifications define an appropriate interface for name, return the interface they define.
If name is a valid custom element name, return
HTMLElement
.
Otherwise, return HTMLUnknownElement
.
Return HTMLUnknownElement
.
The use of HTMLElement
instead of HTMLUnknownElement
in
@@ -66874,12 +66876,12 @@ dictionary ElementRegistrationOptions {
customElements
. define
(name, constructor,
- { extends: base })NotSupportedError
will be thrown upon trying to extend a custom element
- or an unknown element.NotSupportedError
will be thrown upon trying to extend a
+ custom element or an unknown element.
Element definition is a process of adding a custom element definition