Selectors implementation report, Opera 10.0

Key

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.

Report

Opera Browser! 10.0 build 1750 Windows XP SP2 Presto/2.2.15 2009-10-28 Opera ASA Chris Lilley 2009-11-02 http://www.w3.org/Style/CSS/Test/CSS3/Selectors/20091025/

CSS1
SelectorHTMLXMLXML w NSXHTML
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
CSS2(.1)
SelectorHTMLXMLXML w NSXHTML
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
(CSS3) Selectors
SelectorHTMLXMLXML w NSXHTML
attribute prefix '[^=]' 9 9 9 101 101b 108 108b 115 115b 9 101 101b 108 108b 115 115b
attribute suffix '[$=]' 10 10 10 102 102b 109 109b 116 116b 10 102 102b 109 109b 116 116b
attribute substring '[*=]' 11 157 158 11 157 158 11 103 103b 110 110b 117 117b 157 158 172a 172b 173a 173b 11 103 103b 110 110b 117 117b 157 158 172a 172b 173a 173b d3
:root 27 27 27 27
:nth-child 28 28b 27a 146a 146b 27a 146a 146b 27a 28 28b 146a 146b 27a
:nth-last-child 29 29b 27a   27a   27a 29 29b 27a
:nth-of-type 30 27a 145a 145b 27a 145a 145b 27a 30 145a 145b 27a
:nth-last-of-type 31 27a 147a 147b 27a 147a 147b 27a 31 147a 147b 27a
:last-child 33 d4 27a   27a   27a 33 d4 27a
:first-of-type 34 27a   27a   27a 34 27a
:last-of-type 35 27a   27a   27a 35 27a
:only-child 36 27a   27a   27a 36 27a
:only-of-type 37 27a   27a   27a 37 27a
:empty 148 149 149b 150 151 152 148 148 148 149 149b 150 151 152 153
:target 21 21b 21c 21b 21c 21b 21c 21 21b 21c
:enabled 23     23
:disabled 24     24
:checked 25     25
::first-letter 39b 166 166a 180a 39b 166 166a 180a 39b 166 166a 180a 39b 166 166a 180a
::first-line 167 167a 179 179a 167 167a 179 179a 167 167a 179 179a 167 167a 179 179a
::before 39c 41 168 168a 39c 41 168 168a 39c 41 168 168a 39c 41 168 168a
::after 42 169 169a 42 169 169a 42 169 169a 42 169 169a
:not 14d 14e 54 55 56 59 60 61 62 63 64 65 66 66b 67 68 69 70 72 72b 73 73b 74 74b 75 75b 76 76b 77 77b 78 78b 79 80 81 81b 82 82b 83 144 170c 176 178 d1 d1b 66b 72 72b 83 144 178 66b 72 72b 83 144 174b 178 14d 14e 47 48 49 50 51 52 53 54 55 56 57 57b 59 60 61 62 63 64 65 66 66b 67 68 69 70 72 72b 73 73b 74 74b 75 75b 76 76b 77 77b 78 78b 79 80 81 81b 82 82b 83 118 119 120 121 122 123 123b 124 124b 125 125b 126 126b 127 127b 128 128b 129 129b 130 130b 131 131b 132 132b 133 133b 134 134b 135 135b 136 136b 137 137b 138 138b 139 139b 140 140b 141 141b 142 142b 143 143b 144 170c 174b 176 178 d1 d1b d5c d5e
indirect sibling '~' 46 46b 87 87b 90 90b 161 d2 87 87b 90 90b 161 87 87b 90 90b 161 46 46b 87 87b 90 90b 161 d2