be careful when posting on reddit (note: i'm not nonsarcasticman)
nonsarcasticman
You also should follow my reply to this thread:
It also works in IE9 if you set the doctype correctly as the W3C standard says you have to: http://www.w3.org/TR/html5-diff/#doctype Nice improvement!
Hixie
Note that IE9 behaving differently based on the DOCTYPE is a bug in IE, according to the spec.
(Also, that's the diff guide, not the spec. The spec is at http://dev.w3.org/html5/spec/Overview.html or http://whatwg.org/html)
nonsarcasticman
Did you, or any of the people that upvoted you, actually read the W3C spec?
From your link:A DOCTYPE is a required preamble.
Note: DOCTYPEs are required for legacy reasons. When omitted, browsers tend to use a different rendering mode that is incompatible with some specifications. Including the DOCTYPE in a document ensures that the browser makes a best-effort attempt at following the relevant specifications.
Hixie
Did you, or any of the people that upvoted you, actually read the W3C spec?
I wrote the HTML spec. (...)
(emphasis mine)