En historisk referenstabell över CSS-selektorer, layoutfunktioner och polyfills i äldre versioner av Internet Explorer (IE6 till IE11).
Arkivanteckning: Microsoft Internet Explorer har lagts ned. Den här fusklappen bevarar kompatibilitetsdata för underhåll av äldre webbsystem.
Stöd för CSS-selektorer
| Selektor | IE6 | IE7 | IE8 | IE9 | IE10 | IE11 |
|---|---|---|---|---|---|---|
> (Barnselektor) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
[attr] (Attributselektor) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
.class1.class2 (Flera klasser) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
~ (Allmänt syskon) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
+ (Angränsande syskon) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
:before, :after (Enkelt kolon) |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
:nth-child(), :last-child() |
✗ | ✗ | ✗ | ✓ | ✓ | ✓ |
Stöd för funktioner och Web API:er
| Funktion | IE6 | IE7 | IE8 | IE9 | IE10 | IE11 |
|---|---|---|---|---|---|---|
| PNG 24-bitars alfagenomskinlighet | ✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
Data-URI:er (data:image/...) |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
Inbyggd JSON.parse / JSON.stringify |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
| Cross-Origin Resource Sharing (CORS) | ✗ | ✗ | ✓ (XDomainRequest) | ✓ | ✓ | ✓ |
localStorage / sessionStorage |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
CSS Media Queries (@media) |
✗ | ✗ | ✗ (använd respond.js) | ✓ | ✓ | ✓ |
Semantiska HTML5-element (<article>, <nav>) |
✗ | ✗ | ✗ (använd html5shiv) | ✓ | ✓ | ✓ |
| CSS3 Flexbox | ✗ | ✗ | ✗ | ✗ | ✓ (-ms- 2012) | ✓ |
Villkorliga kommentarer (IE9 och äldre)
<!--[if lt IE 7]> <html class="no-js ie6 oldie"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie"> <![endif]-->
<!--[if IE 9]> <html class="no-js ie9"> <![endif]-->
<!--[if gt IE 9]><!--> <html class="no-js"> <!--<![endif]-->