Closed
Bug 277302
Opened 20 years ago
Closed 20 years ago
the nodeName of an element is uppercased
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: maros.ivanco, Unassigned)
Details
Attachments
(1 file)
|
595 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041231 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041231 The property nodeName of element contains name of the element in uppercase. It should preserve the case of the element's name. Reproducible: Always Steps to Reproduce: 1.load the attached test case 2. 3. Actual Results: Mozilla alerts 'INPUT' and 'DIV'. Expected Results: It should alert 'input' and 'div'.
| Reporter | ||
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
quoting http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-104682815 : "The HTML DOM returns the tagName of an HTML element in the canonical uppercase form, regardless of the case in the source HTML document." since the file here is a text/html file, it is treated as HTML, and thus this sentence applies. this bug is invalid. See also http://www.w3.org/TR/xhtml1/#C_11, especially point 1 there.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•