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
My understanding is that the parser is responsible for the lowercasing; the mixed-case name is never even passed to DOM's element-creation algorithms, so even if DOM wanted to store it somewhere, it couldn't.
On the other hand, if you are in an XML document, then the parser won't lowercase, I believe. So in that case it'll just be available as .localName.
given:
For,
x.firstElementChild
, is it possible to get the, um, "original" name (i.e., "TeSt") that was used to create the element?Checking the spec, I'm guessing no - but wanted to double check in case I missed it.
The text was updated successfully, but these errors were encountered: