首先对于前端人来说,IE8永远是一个很难受的点,因为IE8不支持CSS3和HTML5。
IE9是IE8的进化版本,它做到了:
1.通信相关(Web Sockets, Server-Sent Events等等)
2.CSS3样式
3.设备定位功能(取得地理位置信息等等)
4.3D以及画面显示效果(WebGL,CSS3的3D功能等等)
5.多媒体(Audio/Video等等)
6.性能及功能性的提高(Web Workers,XHR2等等)
7.语义性(Microdata微数据等等)
8.离线及本地存储(App Cache,本地存储,IndexedDB等等
但是IE9也不是全部支持HTML5,从IE10开始,对HTML5的支持也比较好一些。
IE9支持的伪类&伪元素
:root
:nth-child(n)
:nth-last-child(n)
:nth-of-type(n)
:nth-last-of-type(n)
:last-child
:first-of-type
:last-of-type
nly-child
nly-of-type
:empty
:target
:not(s)
:enabled
:disabled
:checked
:indeterminate
::selection
IE9不支持的伪类&伪元素
:default
:valid
:invalid
:in-range
ut-of-range
:required
ptional
:read-only
:read-write
::before
::after
::first-letter
::first-line
::value
::choices
::repeat-item
::repeat-index
最后,珍爱生命、远离IE;