Szybka pomoc

Ściągawka macierzy kompatybilności i wsparcia Internet Explorer (Archiwum)

Historyczny przewodnik referencyjny dla Internet Explorer (IE6 do IE11): obsługa selektorów CSS, polyfille HTML5, komentarze warunkowe i dawne błędy.

· Opublikowano

Historyczna tabela porównawcza selektorów CSS, funkcji układu strony oraz polyfilli w starszych wydaniach Internet Explorera (od IE6 do IE11).

Notatka archiwalna: Microsoft Internet Explorer został wycofany. Ta ściągawka zachowuje dane kompatybilności na potrzeby utrzymania starszych systemów WWW.

Wsparcie selektorów CSS

Selektor IE6 IE7 IE8 IE9 IE10 IE11
> (Selektor potomka bezpośredniego) ✗ ✓ ✓ ✓ ✓ ✓
[attr] (Selektor atrybutu) ✗ ✓ ✓ ✓ ✓ ✓
.class1.class2 (Wiele klas) ✗ ✓ ✓ ✓ ✓ ✓
~ (Ogólny selektor rodzeństwa) ✗ ✓ ✓ ✓ ✓ ✓
+ (Bezpośrednie rodzeństwo) ✗ ✓ ✓ ✓ ✓ ✓
:before, :after (Pojedynczy dwukropek) ✗ ✗ ✓ ✓ ✓ ✓
:nth-child(), :last-child() ✗ ✗ ✗ ✓ ✓ ✓

Wsparcie funkcji i interfejsów Web API

Funkcja IE6 IE7 IE8 IE9 IE10 IE11
Przezroczystość alfa PNG 24-bit ✗ ✓ ✓ ✓ ✓ ✓
Adresy Data URI (data:image/...) ✗ ✗ ✓ ✓ ✓ ✓
Natywne JSON.parse / JSON.stringify ✗ ✗ ✓ ✓ ✓ ✓
Cross-Origin Resource Sharing (CORS) ✗ ✗ ✓ (XDomainRequest) ✓ ✓ ✓
localStorage / sessionStorage ✗ ✗ ✓ ✓ ✓ ✓
Zapytania o media CSS (@media) ✗ ✗ ✗ (użyj respond.js) ✓ ✓ ✓
Semantyczne elementy HTML5 (<article>, <nav>) ✗ ✗ ✗ (użyj html5shiv) ✓ ✓ ✓
CSS3 Flexbox ✗ ✗ ✗ ✗ ✓ (-ms- 2012) ✓

Komentarze warunkowe (IE9 i starsze)

<!--[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]-->

Źródła

Powiązane tematy