Una tabla de referencia histórica de selectores CSS, funciones de maquetación y polyfills en las versiones antiguas de Internet Explorer (IE6 a IE11).
Nota de archivo: Microsoft Internet Explorer está retirado. Esta guía conserva datos de compatibilidad para el mantenimiento de sistemas web heredados.
Soporte de selectores CSS
| Selector | IE6 | IE7 | IE8 | IE9 | IE10 | IE11 |
|---|---|---|---|---|---|---|
> (Selector hijo) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
[attr] (Selector de atributo) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
.class1.class2 (Múltiples clases) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
~ (Hermano general) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
+ (Hermano adyacente) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
:before, :after (Dos puntos simples) |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
:nth-child(), :last-child() |
✗ | ✗ | ✗ | ✓ | ✓ | ✓ |
Soporte de funciones y API web
| Función | IE6 | IE7 | IE8 | IE9 | IE10 | IE11 |
|---|---|---|---|---|---|---|
| Transparencia alfa PNG de 24 bits | ✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
Data URIs (data:image/...) |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
JSON.parse / JSON.stringify nativos |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
| Intercambio de recursos de origen cruzado (CORS) | ✗ | ✗ | ✓ (XDomainRequest) | ✓ | ✓ | ✓ |
localStorage / sessionStorage |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
Consultas de medios CSS (@media) |
✗ | ✗ | ✗ (usar respond.js) | ✓ | ✓ | ✓ |
Elementos semánticos HTML5 (<article>, <nav>) |
✗ | ✗ | ✗ (usar html5shiv) | ✓ | ✓ | ✓ |
| CSS3 Flexbox | ✗ | ✗ | ✗ | ✗ | ✓ (-ms- 2012) | ✓ |
Comentarios condicionales (IE9 e inferiores)
<!--[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]-->