[whatwg] Bug in "Before DOCTYPE name state"?

2006/12/21, Simon Pieters:
>
> From: "Thomas Broyer"
> >Additional note: as I read this, if the DOCTYPE was previously marked
> >as being "in error", it should then be rolled back to being "correct"
> >if the DOCTYPE name is "HTML": <!DOCTYPEHTML> would *not* be marked
> >"in error".
>
> Correct.
>
> >That's probably not what's intended.
>
> It is intended. Browsers trigger standards mode for <!doctypehtml>. It does,
> however, generate a parse error, but the doctype itself is not "in error".

OK, understood; thanks a lot.

-- 
Thomas Broyer

Received on Thursday, 21 December 2006 14:12:05 UTC