On Sat, 2010-02-20 at 15:23 -0800, Adam Barth wrote: > 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 <pri...@ni-po.com> 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 > >
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. Thanks, Ash http://www.ashleysheridan.co.uk