Eine historische Referenztabelle für CSS-Selektoren, Layout-Funktionen und Polyfills über ältere Internet-Explorer-Versionen hinweg (IE6 bis IE11).
Archivhinweis: Microsoft Internet Explorer wurde eingestellt. Dieser Spickzettel bewahrt Kompatibilitätsdaten für die Wartung von Legacy-Websystemen auf.
CSS-Selektor-Unterstützung
| Selektor | IE6 | IE7 | IE8 | IE9 | IE10 | IE11 |
|---|---|---|---|---|---|---|
> (Kind-Selektor) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
[attr] (Attribut-Selektor) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
.class1.class2 (Mehrere Klassen) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
~ (Allgemeiner Geschwister-Selektor) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
+ (Benachbarter Geschwister-Selektor) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
:before, :after (Einzelner Doppelpunkt) |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
:nth-child(), :last-child() |
✗ | ✗ | ✗ | ✓ | ✓ | ✓ |
Unterstützung von Funktionen & Web-APIs
| Funktion | IE6 | IE7 | IE8 | IE9 | IE10 | IE11 |
|---|---|---|---|---|---|---|
| PNG 24-Bit Alpha-Transparenz | ✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
Data-URIs (data:image/...) |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
Natives JSON.parse / JSON.stringify |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
| Cross-Origin Resource Sharing (CORS) | ✗ | ✗ | ✓ (XDomainRequest) | ✓ | ✓ | ✓ |
localStorage / sessionStorage |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
CSS Media Queries (@media) |
✗ | ✗ | ✗ (respond.js verwenden) | ✓ | ✓ | ✓ |
Semantische HTML5-Elemente (<article>, <nav>) |
✗ | ✗ | ✗ (html5shiv verwenden) | ✓ | ✓ | ✓ |
| CSS3 Flexbox | ✗ | ✗ | ✗ | ✗ | ✓ (-ms- 2012) | ✓ |
Conditional Comments (IE9 und älter)
<!--[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]-->