The following tables contain hyperlinked numbered tests which are related to a markup language. These tests are from the official W3C Selector test suite and were conducted using Opera 9.61 Win32® Presto/2.1.1. Please note that later/newer versions of Opera may render some test results differently than those performed using Opera 9.61. Run individual tests by clicking a hyperlinked test number in a table. The test result will be rendered in Opera and open in a new window.
| pass | na | fail | crash |
Test numbers in italic are failure/error tests and are likely to contain invalid CSS yet are still quite useful for testing error handling in UAs.
Note: The :indeterminate test cases have been marked N/A because the current Opera Presto 2.1.1 user agent
engine does not implement any control that can be in the indeterminate state.
| Selector | HTML | XML | XML w NS | XHTML |
|---|---|---|---|---|
| type | 2 160 | 2 160 | 2 91 93 160 182 |
2 91
92 93 160 182 |
| single class '.' |
13 155
155a 155b 155c 155d 170b 175a 175b 175c 183 |
13 155
155a 155b 155c 155d 170b 171 175a 175b 175c 183 |
||
| grouping '' |
1 154 156 156b 156c 170 170a |
1 154
156 156b 156c 170 |
1 154
156 156b 156c 170 |
1 154 156 156b 156c 170 170a |
| ID '#' | 4 15 15b | 4 15 15b 15c | ||
| descendant ' ' | 43 43b 181 27b | 27b | 27b | 43 43b 181 27b |
| :link | 16 | 16 | ||
| :visited | 17 | 17 | ||
| :active link | 19 | 19 | ||
| :first-letter | 39 | 39 | 39 | 39 |
| :first-line | 38 | 38 | 38 | 38 |
| Selector | HTML | XML | XML w NS | XHTML |
|---|---|---|---|---|
| universal '*' | 3a | 94 94b |
3 3a
94 94b 95 96 96b |
|
| child '>' |
44 44b 44c 44d 86 89 |
86 89 | 86 89 |
44 44b 44c 44d 86 89 |
| multi-class '.' | 14 14b 14c | 14 14b 14c | ||
| :active | 19b | 19b | ||
| :focus | 20 | 20 | ||
| :first-child |
32 170d
177b 27a |
170d 177b 27a | 170d 177b 27a |
32 170d
177b 27a |
| :hover |
18 18a 18b 18c |
18 18b | 18 18b |
18 18a 18b 18c |
| :lang | 22 | 22 | ||
| direct sibling ' + ' |
45 45b 45c 88 88b |
88 88b | 88 88b |
45 45b 45c 88 88b |
| attribute presence '[ ]' | 5 | 5 |
5 97
97b 104 104b 111 111b |
5 97
97b 104 104b 111 111b |
| attribute equality '[ = ]' | 6 | 6 |
6
98 98b 105 105b 112 112b 174a |
6
98 98b 105 105b 112 112b 174a |
| attribute space set '[ ~= ]' | 7 7b | 7 7b |
7 7b
99 99b 106 106b 113 113b |
7 7b
99 99b 106 106b 113 113b |
| attribute dashed prefix '[ |= ]' | 8 | 8 |
8 100
100b 107 107b 114 114b |
8 100
100b 107 107b 114 114b |
| :before | 39a 41a | 39a 41a | 39a 41a | 39a 41a |
| :after | 42a | 42a | 42a | 42a |
Need help? Hit F1 anytime while using Opera to access our online help files, or go here.