Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the differences between IE9’s IE8 emulation and honest-to-God IE8?

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!

like image 538
Alan H. Avatar asked Jan 12 '11 03:01

Alan H.


2 Answers

  1. window.performance exists

  2. The UA includes the token “Trident/5.0” instead of “Trident/4.0”. Source.

  3. 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.”

  4. Real IE8 does not allow text to be transparent, but IE9’s emulation does. JSFiddle demo and screenshots.

  5. 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).

  6. http://ajh.us/ie8-9

like image 50
9 revs, 3 users 91% Avatar answered Nov 02 '22 01:11

9 revs, 3 users 91%


More differences:

  1. CSS visited/link privacy fixes still apply to compatibility modes for obvious reasons.

  2. No support for HTML+TIME because it is rarely used.

like image 42
Yuhong Bao Avatar answered Nov 02 '22 00:11

Yuhong Bao