[whatwg] Bug in "Before DOCTYPE name state"?
Anne van Kesteren
annevk at opera.com
Thu Dec 21 13:24:54 PST 2006
On Thu, 21 Dec 2006 19:42:24 +0100, Thomas Broyer <t.broyer at gmail.com>
wrote:
> 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".
It would be a parse error, but
> That's probably not what's intended.
yeah, I suppose not. I don't really see directly how you can nicely deal
with that during tokenizing. Hmm. (It would work with a flag, but that's
not nice.)
> So I'll just code it so that these are "correct":
> <!doctype html>
> <!DOCTYPE HTML>
> and every other lowercase/uppercase variant;
> and thiese are "in error":
> <!doctypehtml>
> <!DOCTYPEHTML>
> and every other lowercase/uppercase variant.
--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
More information about the whatwg
mailing list