[whatwg] Mistyping of title end tag causes white page
ash at ashleysheridan.co.uk
Sat Feb 20 15:25:47 PST 2010
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.
> On Sat, Feb 20, 2010 at 1:59 PM, Nikita Popov <privat at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the whatwg