Closed Bug 26022 Opened 20 years ago Closed 20 years ago

XHTML 1.0 document with text/html media-type is treated as HTML 4.0 document.

Categories

(Core :: Layout, defect, P3)

x86
Windows 95
defect

Tracking

()

VERIFIED DUPLICATE of bug 48351

People

(Reporter: Ryosuke_Nanba, Assigned: jud)

References

()

Details

Non-html tags in XHTML 1.0 document are ignored when the document lebeled with 
the Internet Mediatype "text/html".
To be browsed old web browser, some XTHML documents are labeled with 
"text/html", not labeled whith "text/xml". In new XHTML comformant browser 
renders such documents as XHTML documents.
Nisheeth, we never claimed we would deal with XHTML, but it's XML related so 
re-assigning to you
Assignee: troy → nisheeth
Moving these XHTML bugs to M17...
Status: NEW → ASSIGNED
Target Milestone: M17
Moving bugs out by one milestone...
Target Milestone: M17 → M18
Harish, another DTD selection problem for you.  I think we should implement the 
heuristic that if an HTML file contains and XML PI right up top, we should use 
the XML DTD to parse it.

CCing Rick Gessner for his opinion.
Assignee: nisheeth → harishd
Status: ASSIGNED → NEW
Assignee: harishd → valeski
The parser is been given a wrong mime type...   Reassinging to valeski.
*** Bug 44819 has been marked as a duplicate of this bug. ***
Duping to a later bug because the later bug has a more complete set of 
testcases attached and highlights problems with the approaches mentioned above.

*** This bug has been marked as a duplicate of 48351 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
xhtml run through the html parser. marking verified duplicate.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.