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

Thomas Broyer t.broyer at gmail.com
Thu Dec 21 14:12:05 PST 2006


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



More information about the whatwg mailing list