<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.3">
</HEAD>
<BODY>
On Sat, 2010-02-20 at 15:23 -0800, Adam Barth wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
I think the way WebKit handles this case is by re-parsing if the title
tag eats the whole document.
Adam
On Sat, Feb 20, 2010 at 1:59 PM, Nikita Popov <<A HREF="mailto:privat@ni-po.com">privat@ni-po.com</A>> wrote:
> I noticed, that mistyping the ending title tag causes a white page and a
> title containing the whole source of the page (from the starting title tag
> on) in firefox3.6 with enabled HTML5 Parsing Algorithm.
>
> As I haven't read the the HTML5 Parsing Algorithm section, I don't know
> whether this is a misimplementation or is defined this way in the algorithm.
>
> Obviously this cannot be the expected behavior. The second <title> tag
> should be interpreted as a </title> tag.
>
> Nikita Popov
>
</PRE>
</BLOCKQUOTE>
<BR>
I think a white page is the best way really. To do otherwise would just encourage really sloppy coding practices. If a white page is displayed, it's pretty obvious fairly quickly that there is a major problem.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Thanks,<BR>
Ash<BR>
<A HREF="http://www.ashleysheridan.co.uk">http://www.ashleysheridan.co.uk</A><BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>