WPT
wpt / dom / nodes / Node-nodeName.html
Spec: DOM ↗
Runs: Chrome 155.0.8043.0 (wpt@b89af32bc, 2026-09-05) | Firefox 157.0a1 (wpt@b89af32bc, 2026-09-05) | Safari 251 preview (wpt@b89af32bc, 2026-09-05) | Ladybird 1.0-ca509 (wpt@b89af32bc, 2026-09-05) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 6/6 | 6/6 | 6/6 | 6/6 | 6/6 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| For Element nodes, nodeName should return the same as tagName. | PASS | PASS | PASS | PASS | PASS | — |
| For Text nodes, nodeName should return "#text". | PASS | PASS | PASS | PASS | PASS | — |
| For Comment nodes, nodeName should return "#comment". | PASS | PASS | PASS | PASS | PASS | — |
| For Document nodes, nodeName should return "#document". | PASS | PASS | PASS | PASS | PASS | — |
| For DocumentType nodes, nodeName should return the name. | PASS | PASS | PASS | PASS | PASS | — |
| For DocumentFragment nodes, nodeName should return "#document-fragment". | PASS | PASS | PASS | PASS | PASS | — |