Tabella di riferimento storica per selettori CSS, funzionalità di layout e polyfill nelle versioni legacy di Internet Explorer (da IE6 a IE11).
Nota di archivio: Microsoft Internet Explorer è stato ritirato. Questo cheatsheet conserva i dati di compatibilità per la manutenzione di sistemi web legacy.
Supporto Selettori CSS
| Selettore | IE6 | IE7 | IE8 | IE9 | IE10 | IE11 |
|---|---|---|---|---|---|---|
> (Selettore figlio) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
[attr] (Selettore attributo) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
.class1.class2 (Classi multiple) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
~ (Fratello generale) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
+ (Fratello adiacente) |
✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
:before, :after (Singolo due punti) |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
:nth-child(), :last-child() |
✗ | ✗ | ✗ | ✓ | ✓ | ✓ |
Supporto Funzionalità & Web API
| Funzionalità | IE6 | IE7 | IE8 | IE9 | IE10 | IE11 |
|---|---|---|---|---|---|---|
| Trasparenza Alpha PNG a 24 bit | ✗ | ✓ | ✓ | ✓ | ✓ | ✓ |
Data URI (data:image/...) |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
JSON.parse / JSON.stringify nativi |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
| Cross-Origin Resource Sharing (CORS) | ✗ | ✗ | ✓ (XDomainRequest) | ✓ | ✓ | ✓ |
localStorage / sessionStorage |
✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
Media Query CSS (@media) |
✗ | ✗ | ✗ (usare respond.js) | ✓ | ✓ | ✓ |
Elementi semantici HTML5 (<article>, <nav>) |
✗ | ✗ | ✗ (usare html5shiv) | ✓ | ✓ | ✓ |
| CSS3 Flexbox | ✗ | ✗ | ✗ | ✗ | ✓ (-ms- 2012) | ✓ |
Commenti condizionali (IE9 e precedenti)
<!--[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]-->