[whatwg] HTML syntax: comments before doctype and doctypesniffing

Hi,

From: Spartanicus <spartanicus.3@ntlworld.ie>
>I'm assuming that this comment merely documents IE's current behaviour.
>Please ignore my other comment if I'm wrong.

A comment before the doctype has equal status as lack of doctype or an 
incorrect doctype. Hence, conformance checkers will flag such documents as 
non-conforming, and the syntax section should only allow things that will 
pass conformance checking.

>There are valid reasons to kick IE into quirks mode whilst triggering
>"standards mode" in other browsers.

What are those reasons?

>There is existing content on the web
>that intentionally does this. Why would you want to deny an author who
>fully understands the issues from doing this?

I don't want to deny authors anything, I just want the syntax section and 
the parsing section to agree. If there really are valid reasons to have 
comments before the doctype then the parsing section should change instead 
of the syntax section.

Regards,
Simon Pieters

_________________________________________________________________
St?tf?ngare, f?lgar och fj?dring till salu http://motor.msn.se/

Received on Sunday, 3 December 2006 15:49:39 UTC