Closed Bug 306323 Opened 20 years ago Closed 20 years ago

tagName property should be lowercase when valid XHTML is present

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: knocte, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8b3) Gecko/20050712 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8b3) Gecko/20050712 Firefox/1.0+ According to the section 1.6.3 of the Document Object Model (http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-822762427), Mozilla should expose tagName attribute as lowercase when using XHTML. Reproducible: Always Steps to Reproduce: I am attaching a testcase.
Attachment #194176 - Attachment mime type: text/html → application/xml
You didn't specify the XHTML namespace, WFM once you add that.
WFM too.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Ok, sorry for forgetting that. But, once again, let me be skeptic. If my page is validating agains the W3C validator without the namespace, should Mozilla act as like it had a XHTML document? Or the problem is with the validator? The thing is that I still see a problem here: a bug. Either from Mozilla or from the W3C validator. Do you understand me?
Just because a page validates doesn't mean it conforms. Validation is a subset of conformance and will miss things like this.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: