> What I'm trying to find out is specifically how IE 6 breaks (as in > incorrectly renders the page) when using valid HTML 5 markup (including > self-closing tags) with <!DOCTYPE html>. Again assume no HTML 5 only > features only markup syntax. > > I'm asking because I don't personally use any version of IE, much less > IE 6. I'd really like to know if IE 6 actually has problems rending HTML > 5 markup.
It does not break. The only thing that doctype affects in IE6 is rendering mode. HTML5 doctype forces IE6 into "standards compliant" mode, see [1] for more details. In fact, because unknown doctype (which html5 doctype was for earlier browsers) forces them to use standards rendering mode is THE reason HTML5 has doctype at all. You can omit doctype for your XHTML5 pages, because they MUST be served with application/xhtml+xml MIME type and then it is this MIME that tells browsers how to treat you document, no doctype necessary. So if your web page was using any of doctypes which would cause IE to be in standards compliant mode it will behave just the same with HTML5 doctype. However, if your page was developed for quirks mode, HTML5 doctype will switch IE6 into standards compliant rendering and things may (will?) break horribly. The most probable case is different box model, but there are other differences too, see the link below for the details. [1] http://msdn.microsoft.com/en-us/library/bb250395(VS.85).aspx Regards, Rimantas -- http://rimantas.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

