Closed
Bug 714298
Opened 13 years ago
Closed 13 years ago
firefox doesn't like shortened title tag in head
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: mozilla, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Build ID: 20111222095143
Steps to reproduce:
A Wikipedia to HTML converter wrote the following snippet (reduced to its simplest expression):
<html><head><title /></head><body>Hello, world!</body></html>
Along with the XHTML payload but I removed it too for clarity since it behaves the same.
Actual results:
Firefox doesn't consider the title tag is closed and thinks "</head><body>Hello, world!</body></html>" is the title of the document as seen in the window title.
Expected results:
The title tag is closed so the parsing should occur as expected.
Writing "<title>" without the closing tag fails the same way and I found a bug report addressing this issue.
Writing "<titl />" with a typo makes the document render as expected.
Comment 1•13 years ago
|
||
The slash in <title /> is ignored by a HTML parser, it's parsed as <title>
Please report a bug to the maintainers of the "Wikipedia to HTML converter" you're using.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•