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/

Reply via email to