I've got a situation where an iFrame needs to be embedded in a page. The iFrame uses the HTML 5 DOCTYPE (and associated elements) and I have it working correctly in the various browsers (IE flavors, mozilla, etc.). However, the main page that hosts the iFrame has a different DOCTYPE (<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
).
When I view the resulting page in IE9 and use the "Dev Tools" I see that Browser Mode is set to IE9 and Document Mode gets set to IE7 standards. If I change the Document Mode to something besides Quirks, it looks fine.