W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

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

From: Simon Pieters <zcorpan@hotmail.com>
Date: Thu, 21 Dec 2006 20:52:14 +0000
Message-ID: <BAY109-F1359391253E2378EFCDCE9B4CE0@phx.gbl>
Hi,

From: "Thomas Broyer" <t.broyer@gmail.com>
>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".

>...

Regards,
Simon Pieters

_________________________________________________________________
Martin Stenmarck som ringsignal http://msn.cellus.se/
Received on Thursday, 21 December 2006 12:52:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC