W3C home > Mailing lists > Public > public-html@w3.org > April 2009

Re: Revamp HTML5 doctype sniffing?

From: Daniel Schattenkirchner <schattenkirchner.daniel@gmx.de>
Date: Thu, 09 Apr 2009 18:10:34 +0200
Message-ID: <49DE1DFA.3030803@gmx.de>
To: public-html@w3.org
Simon Pieters wrote:
> This was a regression from Opera 9.0 due to a misanalyzed broken page 
> using the following doctype:
> <!DOCTYPE HTML PUBLIC "-//W3C/DTD HTML 4.0 Transitional//EN" "http://...
> It triggered quirks mode in Opera 9.0 but standards mode in Gecko and 
> WebKit because we used a substring match and they matched the whole 
> thing. Note the single slash in there.
> So we changed to make HTML 4.0 transitional doctypes trigger almost 
> standards mode. This broke other pages that used the proper HTML 4.0 
> transitional doctype and required quirks mode to work correctly (in 
> Opera/Gecko/WebKit, anyway).

I see, then it really is necessary to keep those doctypes trigger quirks 

Could you please tell me more about <!doctype html public> ?
It's a Full Standards Mode doctype in Opera (9.6 and latest 10 build) 
and IE. Is this also a regression or has it always been that way?
Received on Thursday, 9 April 2009 16:11:11 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:44 UTC