Closed Bug 596559 Opened 15 years ago Closed 9 years ago

Title of XHTML documents not shown in tab or title bar if <title> element has a namespace prefix

Categories

(Firefox :: General, defect)

3.6 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: florian.lherbette, Unassigned)

Details

(Whiteboard: [wfm?])

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 The document title appears to be shown on the UI only if the <title> element is in the default namespace. I tested this with XHTML documents served either as application/xml or as application/xhtml+xml, on Firefox 3.6.8 on Linux and Firefox 3.6.9 on Mac OS X. Title is displayed correctly with this kind of workaround: <html:html xmlns:html='http://www.w3.org/1999/xhtml'> <html:head> <title xmlns='http://www.w3.org/1999/xhtml'>Title</title> </html:head> <html:body /> </html:html> Reproducible: Always
Attached file Minimal testcase
Attached file Example of workaround
Attachment #475479 - Attachment mime type: text/xml → application/xml
Component: Installer → General
QA Contact: installer → general
I see this on 3.6, but not on Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:2.0b7pre) Gecko/20100926 Firefox/4.0b7pre. Can you confirm this works in the Firefox 4 beta?
Whiteboard: [wfm?]
Version: unspecified → 3.6 Branch
WFM using Firefox 50.0 on Windows. Minimal testcase attachment shows 'Title' from html:title element as expected (as well as any other string, such as 'foo', one puts in there
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: