[whatwg] Parsing: bogus stuff before doctype

The following document triggers quirks mode in Firefox, Safari and IE7  
(standards mode in Opera and per current spec):

    </ foo ><!doctype html>

The following document triggers standards mode in Firefox and Safari  
(quirks mode in IE7 and Opera, and per current spec):

    XXX<!doctype html>

-- 
Simon Pieters

Received on Monday, 18 June 2007 08:35:11 UTC