IE9 Compatibility Mode: What version is it simulating?

Tom Gullen picture Tom Gullen · Apr 25, 2011 · Viewed 8.8k times · Source

I'm using the latest IE9, and test my websites in compatibility mode. But what version of IE is this actually simulating/replicating? It's not clear. Is it 6, 7 or even 8?

Answer

Thomas picture Thomas · Apr 25, 2011

You need to show the developer tools by hitting F12. That will show you which browser is being emulated and whether you are in Quirks or Standards mode. IE9 can only emulate IE8 and IE7.

If you need IE6 (and if you do, you have our pity), you'll will need to use virtual machines which only have IE6 installed. Microsoft does provide free ones that require VirtualPC.

enter image description here

If you are specifically asking about IE9 Compatibility View, it is designed primarily for testing to see how the site will render if the user has enabled Compatibility View. Some of the differences are that it reports a user agent, version vector and document mode as if it is IE7 but also includes an indicator in the user agent that the browser is really IE9.