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
What specific section or headline is this issue about?
Instance property Node.nodeName
What information was incorrect, unhelpful, or incomplete?
The description is silent on the case of the node names returned. In practice when I try it, the names are uppercase such as DIV. Except text nodes return lowercase #text. I know I should be defensive as normalize the case before I test them,
What did you expect to see?
It would be good if the issue was addressed. If there is no standard, perhaps say that and suggest we should expect either case when testing them.
Do you have any supporting links, references, or citations?
Josh-Cena
added
good first issue
A good issue for newcomers to get started with.
and removed
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
labels
Jul 7, 2024
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/Node
What specific section or headline is this issue about?
Instance property Node.nodeName
What information was incorrect, unhelpful, or incomplete?
The description is silent on the case of the node names returned. In practice when I try it, the names are uppercase such as DIV. Except text nodes return lowercase #text. I know I should be defensive as normalize the case before I test them,
What did you expect to see?
It would be good if the issue was addressed. If there is no standard, perhaps say that and suggest we should expect either case when testing them.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/api/node
The text was updated successfully, but these errors were encountered: