W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

[whatwg] The bogus doctype state and doctype sniffing

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 21 Jun 2007 23:39:00 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.0706212338350.31033@dhalsim.dreamhost.com>
On Tue, 5 Jun 2007, Henri Sivonen wrote:
>
> The bogus doctype state does not work as a sufficient spec for parsers 
> that need to extract the kind of information that is needed for 
> browser-compatible doctype sniffing.
> 
> I suggest amending the bogus doctype state with substates that match 
> dbaron's doctype sniffing algorithm from Gecko, because in addition to 
> Gecko, WebKit uses that algorithm and Opera 9 uses something that is 
> mostly equivalent (subject to corner case differences induced apparently 
> by blackbox reverse engineering).

Done. (Webkit apparently doesn't use exactly what Gecko uses, btw.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 21 June 2007 16:39:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC