Blog.okuryu
あと Safari は私の環境では検証できないので、検証結果を誰かよろしくお願いします。
というわけで Safari 2.0.4 で CSS Selectors testsuite を試してみました。以下結果です。
| Safari 2.0.4 | |
|---|---|
| * | - |
| E | - |
| .class | - |
| #id | - |
| E F | - |
| E > F | - |
| E + F | - |
| E[attribute] | - |
| E[attribute=value] | (3 out of 17 failed) |
| E[attribute~=value] | (3 out of 17 failed) |
| E[attribute|=value] | (3 out of 19 failed) |
| :first-child | (1 out of 7 failed) |
| :link | - |
| :visited | - |
| :lang() | (5 out of 11 failed) |
| :before | - |
| ::before | - |
| :after | - |
| ::after | - |
| :first-letter | - |
| ::first-letter | - |
| :first-line | - |
| ::first-line | - |
| E[attribute^=value] | (3 out of 20 failed) |
| E[attribute$=value] | (3 out of 20 failed) |
| E[attribute*=value] | (3 out of 16 failed) |
| E ~ F | (2 out of 3 failed) |
| :root | - |
| :last-child | (2 out of 7 failed) |
| :only-child | (2 out of 5 failed) |
| :nth-child() | (47 out of 88 failed) |
| :nth-last-child() | (47 out of 88 failed) |
| :first-of-type | (7 out of 10 failed) |
| :last-of-type | (7 out of 10 failed) |
| :only-of-type | (3 out of 5 failed) |
| :nth-of-type() | (47 out of 88 failed) |
| :nth-last-of-type() | (47 out of 88 failed) |
| :empty | (4 out of 6 failed) |
| :not() | - |
| :target | - |
| :enabled | (1 out of 2 failed) |
| :disabled | (1 out of 2 failed) |
| :checked | (1 out of 2 failed) |
IE7 よりも対応状況は良さそうです。来年には Safari 3 もリリースされる予定なので、今後に期待ですね。
このエントリーのトラックバックURL:
http://www.okuryu.com/mt/mt-tb.cgi/189
Sueblimely | 2008-04-07T05:14:24+09:00
Computers have already revolutionized the way we live and work. Have they changed the way we think? After reading all posts I think they have. People, why do you write what you hear somewhere, not your own thoughts?
Marek | 2008-04-09T19:54:36+09:00
Awesome! Ahahaha! Stop it, youre killing me! Anyway, I'm glad I'm not the only one who thought this is great.