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

[whatwg] HTML syntax: comments before doctype and doctypesniffing

From: Simon Pieters <zcorpan@hotmail.com>
Date: Sun, 03 Dec 2006 23:49:39 +0000
Message-ID: <BAY109-F123857E6A58ACD2938F52B4D80@phx.gbl>
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

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