Closed Bug 92255 Opened 24 years ago Closed 24 years ago

HTML parser -- a missing </title> eats whole document...

Categories

(Core :: DOM: HTML Parser, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 42945

People

(Reporter: mengel, Assigned: harishd)

References

()

Details

Overview If you have a document which is missing its </title> end tag, mozilla displays a blank page. The </head> and/or <body> tag for html should close any open tags that go in the <head>..</head>, including the <title> tag. Platform Mozilla/5.0 (X11; U; Linux 2.2.16-3 i686; en-US; rv:0.9.1) Gecko/20010620 Reproduce by by Take a look at http://www-oss.fnal.gov/~mengel/mozbug.html
Well... Netscape 4 on linux and Explorer on Mac have the same behaviour. The HTML specs says: " 7.4.2 The TITLE element ... Start tag: required, End tag: required " So I believe this one is going to be invalid
As Gilles noted, the HTML is bad. Marking invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
actually... this is something the parser should catch. reopening.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Duplicate of "Unclosed TITLE tag makes page not render" *** This bug has been marked as a duplicate of 42945 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
vrfy
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.