[whatwg] HTML syntax: comments before doctype and doctype sniffing

Hi,

The parsing section says that a comment before the doctype may trigger 
quirks mode. Therefore I think the syntax section shouldn't allow comments 
before the doctype (only space characters).

Also, as an additional constraint in the syntax section, the entire doctype 
probably should (or must) be within the first 1024 bytes, because AFAIK 
browsers generally only sniff for the first 1024 bytes, and if they don't 
find the entire doctype within that then you get quirks mode.

Regards,
Simon Pieters

_________________________________________________________________
Bjud p? sjysta m?rkesjackan http://tradera.msn.se/

Received on Sunday, 3 December 2006 15:02:38 UTC