# ie9.jsが便利すぎる。

- リンク: https://torounit.com/blog/ie9-js%e3%81%8c%e4%be%bf%e5%88%a9%e3%81%99%e3%81%8e%e3%82%8b%e3%80%82/
- 公開日: 2010-12-06T14:17:07+09:00
- 作成者: Toro\_Unit

[ie7-js – Project Hosting on Google Code](http://code.google.com/p/ie7-js/)
 に有る、
ie9.jsがとても便利です。

js非表示のクライアントはどうするって話もあるので、それはCase by Caseってことで。。。。

機能としては

 * CSS3のセレクタへの対応。
 * HTML5要素への対応。

が主だった物ですね。html5への対応はhtml5.jsと同じことをやっています。

 * :checked
 * :disabled
 * :empty
 * :enabled
 * :indeterminate
 * :first-of-type
 * :last-child
 * :last-of-type
 * :not()
 * :nth-child()
 * :nth-last-child()
 * :nth-last-of-type()
 * :nth-of-type()
 * :only-child
 * :only-of-type
 * :root
 * :target

に対応しているようです。

:nth-childに対応ってのは結構今までjQuery等で数えていたのが一気に楽になるかと。:nth-
child(3n)のような指定も当然可能です。

また、ie8.jsから引き続き、疑似要素,:before,:afterなんかも対応しています。

便利になった物ですね・・・
