Closed Bug 123438 Opened 24 years ago Closed 24 years ago

localName returns element name always in upper case in XHTML

Categories

(Core :: DOM: Core & HTML, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla0.9.9

People

(Reporter: hjtoi-bugzilla, Assigned: jst)

Details

(Whiteboard: [HAVE FIX])

Attachments

(2 files)

Peter Wilson noticed this, he posted on n.p.m.xml Will attach a test case.
Attached file testcase —
This file is HTML, but it creates an XHTML file with DOMParser. Then we get one element's localName, tagName and nodeName. All of them should show the same thing, namely lower case 'p'.
Attached patch Proposed fix. — — Splinter Review
Status: NEW → ASSIGNED
Priority: -- → P2
Whiteboard: [HAVE FIX]
Target Milestone: --- → mozilla0.9.9
Comment on attachment 67824 [details] [diff] [review] Proposed fix. sr=vidur
Attachment #67824 - Flags: superreview+
Comment on attachment 67824 [details] [diff] [review] Proposed fix. r=heikki
Attachment #67824 - Flags: superreview+ → review+
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: DOM: Core → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: