Opera - Selectors
Internal build に触れられない大多数の人のためにと、Opera Open the Web の David Storey が blog で、Upcoming CSS3 support in Opera と題した記事を書いている。
以下は最新の内部版で新たに対応したもの。
- :root
- :not()
- :nth-child()
- :nth-of-type()
- :first-of-type
- :target (これは未だバギー)
以下はコア・エンジンには実装されているが、何らかの理由(いわゆるリグレッションだろう)で現在は不動にされているもの。
- :empty
- :nth-last-child
- :nth-last-of-type
- :last-child
- :last-of-type
- :only-child
- :only-of-type
- selection pseudo-element だけは未対応なまま。
- 幾度か触れたように現在の weekly は幹 (trunk) から分かれた枝 (branch) に位置するバグ修正主体版で、近い将来に出るだろう Opera 9.12 になるものである。
- 一方、幹の方は 10.00 を目指して内部で開発が続いている。一部には .00 を超えて .50 等という id を名乗る内部版もあるようだ。
- その幹版で実装に向けて検証がなされているのは、デイビットがここで紹介している CSS selectors に限らない。既に彼がテストしているように、他にも多くの CSS 3 規格への対応が trunk では予想される。
- WaSP の Molly も取り上げている他、あちこちに引用されているようだ。
- 彼のコメント欄には自身によって Opera 10.00 internal、Firefox 3.0a2pre、WebKit Revision 19024 を使って CSS 3 Selectors test を受けてみた一覧が 2 枚のスクリーンショットと共に投稿されている。
- せっかくだから、はてな記法を使って整形してみる。
- Opera 10 internal
- From the 43 selectors 34 have passed, 2 are buggy and 7 are unsupported (Passed 460 out of 578 tests)
- Firefox 3.0a2pre
- From the 43 selectors 32 have passed, 4 are buggy and 7 are unsupported (Passed 369 out of 578 tests)
- Safari 19024
- From the 43 selectors 25 have passed, 9 are buggy and 9 are unsupported (Passed 355 out of 578 tests)
- IE 7
- From the 43 selectors 13 have passed, 4 are buggy and 26 are unsupported (Passed 355 out of 578 tests)
- Opera 9.12
- From the 43 selectors 25 have passed, 3 are buggy and 15 are unsupported (Passed 346 out of 578 tests)
cf. CSS3 Selectors Test Suite by W3C
- 64 bit 版も trunk ではやってるらしい。
- ここの上で「他にも多くの CSS 3 規格への対応が trunk では予想される。」と書いたら、Rijk が text-shadow が実装されている Peregrine*1 をスクリーン・ショット付きで紹介していた。 - text-shadow support
- 彼の CSS には h1、h2 そして a[href]:hover に text-shadow が使われている。
- サポートしない規格を試験的とはいえ my.opera で使うはずがない。すると既に使われている border-radius と box-shadow も Peregrine で対応する可能性が高まったと言えるだろう。