[whatwg] The bogus doctype state and doctype sniffing

Henri Sivonen hsivonen at iki.fi
Tue Jun 5 01:29:50 PDT 2007


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/





More information about the whatwg mailing list