[whatwg] The bogus doctype state and doctype sniffing

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).

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/

Received on Tuesday, 5 June 2007 01:29:50 UTC