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 >