Reputation: 16608
I’m running into an issue where some icons aren’t showing up in IE8 on XP, but when I run IE9 on Win 7 with document & browser modes set to IE8, the issue doesn’t present itself.
So I’m wondering what the known differences are between IE8 emulation and the real deal. Let’s hear ’em!
Upvotes: 17
Views: 3686
Reputation: 16608
The UA includes the token “Trident/5.0” instead of “Trident/4.0”. Source.
Per Paul Irish: “IE9’s IE8 mode: intermittently false positives on a feature test for inline SVG. Renders CSS differently than true IE8, and is crashier than the real one.”
Real IE8 does not allow text to be transparent
, but IE9’s emulation does. JSFiddle demo and screenshots.
In IE9’s IE8 mode, you can only style visited links differently by color
(it’s a privacy fix that prevents checking if a URL is in your browser history).
Upvotes: 9
Reputation: 19890
Certain javascript behavior is different. For instance, the JScript DontEnum bug looks be fixed in IE10 emulation of IE8.
Upvotes: 0
Reputation: 2108
IE8(at the very least, 64bit version on Windows 7) will randomly fail, and sometimes outright crashes, when JSON.stringify is used to serialize an object with nested arrays, ie:
var someModel = {
"pages": [{
"fields": [{}]
}]
};
This doesn't happen in IE8 compat mode. This jsfiddle example is using knockout(it's an example from when I first came across it), but it can be tracked all the way to JSON.stringify http://jsfiddle.net/5LPSx/10/
Upvotes: 0
Reputation: 3927
More differences:
CSS visited/link privacy fixes still apply to compatibility modes for obvious reasons.
No support for HTML+TIME because it is rarely used.
Upvotes: 5