Skip to content

Instantly share code, notes, and snippets.

@zachleat
Last active December 16, 2015 08:39
Show Gist options
  • Save zachleat/5407068 to your computer and use it in GitHub Desktop.
Save zachleat/5407068 to your computer and use it in GitHub Desktop.
Differences between Pure Internet Explorers and IE Compatibility Modes

Or, yet more evidence that you should use feature detection instead of browser/user agent sniffing.

IE9

Not supported in IE9 but works in IE10-as-IE9

  • Unprefixed CSS transform. Should require -ms-transform but doesn’t require it.

IE8

Supported in IE8 but not IE9-as-IE8

  • ­ works in IE8 but does not work in IE9-as-IE8 Source

Supported in IE8 but not IE10-as-IE8

Not supported in IE8 but works in IE9-as-IE8

IE7

Supported in IE7 but not IE8+-as-IE7

Not supported in IE7 but works in IE8+-as-IE7

False Positives

  • Modernizr reports: IE8 in compatibility view mode has onhashchange, but doesn't support it.
  • Box sizing (not supported in IE7 but haz.io reports true in IE9-as-IE7)

Additional uncatalogued data

@nmackey
Copy link

nmackey commented Jun 7, 2013

I remembered you were compiling this list and I ran into a couple things on my latest project that I didn't notice in IE10 as IE8 but rendered wrong in actual IE8. Maybe these are too specific for what you are looking for, but here they are anyways.

Twitter Bootstrap Breadcrumbs inside a row-fluid. This is supposedly an inline-block issue. I found the following fix:
.breadcrumb li {
margin-right: 1px;
}

Also select box dropdowns in actual IE8 are fixed width, but in IE10 as IE8 they are dynamic (extend to the length of your content).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment