You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doesn't work because the result of someElement.children[0] is an Element rather than an HTMLElement. I'm not sure whether there is any situation of dealing with DOM elements in which you'd get something that is an Element but not an HTMLElement. I also see in Issue #4689 that there are some operations where HTMLElement is used for convenience -- maybe this should be included too?
(Apologies if this is a FAQ.)
The text was updated successfully, but these errors were encountered:
I ran into a problem where
doesn't work because the result of
someElement.children[0]
is anElement
rather than anHTMLElement
. I'm not sure whether there is any situation of dealing with DOM elements in which you'd get something that is anElement
but not anHTMLElement
. I also see in Issue #4689 that there are some operations whereHTMLElement
is used for convenience -- maybe this should be included too?(Apologies if this is a FAQ.)
The text was updated successfully, but these errors were encountered: