Changeset 174535 in webkit
- Timestamp:
- Oct 9, 2014, 3:14:29 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 28 added
- 2 deleted
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r174533 r174535 1 2014-10-09 Benjamin Poulain <benjamin@webkit.org> 2 3 Add the baseline implementation of :not(selectorList) 4 https://bugs.webkit.org/show_bug.cgi?id=137548 5 6 Reviewed by Andreas Kling. 7 8 There are 3 big kind of changes to the tests: 9 1) The new implementation intentionally breaks :not() of :visited and :link. 10 Some test for the basic :not(:link) and :not(:visited) are consequently failing. 11 2) Some tests were ensuring that :not() only support simple selectors, those are 12 becoming irrelevant. 13 3) New test for the feature. 14 15 * TestExpectations: 16 This patch intentionally breaks :not(:link). The test fast/history/link-inside-not.html 17 time out since it is waiting for the link to match. 18 19 * fast/css/invalid-not-with-simple-selector-sequence-expected.txt: Removed. 20 * fast/css/invalid-not-with-simple-selector-sequence.html: Removed. 21 This test originally came from IEtestcenter. None of it is useful, all the "invalid" 22 cases are now fully functional selectors. 23 24 * fast/css/css-selector-text-expected.txt: 25 * fast/css/css-selector-text.html: 26 * fast/css/css-set-selector-text-expected.txt: 27 * fast/css/css-set-selector-text.html: 28 Parsing and CSS OM tests for the new :not(). 29 30 * fast/css/parsing-css-matches-5-expected.txt: 31 * fast/css/parsing-css-matches-5.html: 32 * fast/css/parsing-css-matches-6-expected.txt: 33 * fast/css/parsing-css-matches-6.html: 34 * fast/css/parsing-css-matches-7-expected.txt: 35 * fast/css/parsing-css-matches-7.html: 36 * fast/css/parsing-css-matches-8-expected.txt: 37 * fast/css/parsing-css-matches-8.html: 38 Update the tests of :matches() to account for the extended :not(). 39 40 * fast/dom/SelectorAPI/resig-SelectorsAPI-test-expected.txt: 41 Some cases covered by this test are now valid. The test is kept as is for 42 its historical value, but all the FAIL cover valid use cases in Level 4. 43 44 * platform/mac/css3/selectors3/html/css3-modsel-61-expected.txt: 45 * platform/mac/css3/selectors3/html/css3-modsel-83-expected.txt: 46 * platform/mac/css3/selectors3/xhtml/css3-modsel-61-expected.txt: 47 * platform/mac/css3/selectors3/xhtml/css3-modsel-83-expected.txt: 48 * platform/mac/css3/selectors3/xml/css3-modsel-61-expected.txt: 49 * platform/mac/css3/selectors3/xml/css3-modsel-83-expected.txt: 50 * platform/mac/fast/selectors/061-expected.txt: 51 * platform/mac/fast/selectors/083-expected.txt: 52 Those tests are changing because of the breakage of :link and :visited. 53 54 * fast/css/not-basics-expected.html: Added. 55 * fast/css/not-basics.html: Added. 56 Basic use cases of the extended :not() that should always style correctly. 57 58 * fast/css/parsing-css-not-1-expected.txt: Added. 59 * fast/css/parsing-css-not-1.html: Added. 60 * fast/css/parsing-css-not-2-expected.txt: Added. 61 * fast/css/parsing-css-not-2.html: Added. 62 * fast/css/parsing-css-not-3-expected.txt: Added. 63 * fast/css/parsing-css-not-3.html: Added. 64 * fast/css/parsing-css-not-4-expected.txt: Added. 65 * fast/css/parsing-css-not-4.html: Added. 66 * fast/css/parsing-css-not-5-expected.txt: Added. 67 * fast/css/parsing-css-not-5.html: Copied from LayoutTests/fast/css/parsing-css-matches-5.html. 68 * fast/css/parsing-css-not-6-expected.txt: Added. 69 * fast/css/parsing-css-not-6.html: Copied from LayoutTests/fast/css/parsing-css-matches-6.html. 70 * fast/css/parsing-css-not-7-expected.txt: Copied from LayoutTests/fast/css/parsing-css-matches-7-expected.txt. 71 * fast/css/parsing-css-not-7.html: Copied from LayoutTests/fast/css/parsing-css-matches-7.html. 72 * fast/css/parsing-css-not-8-expected.txt: Copied from LayoutTests/fast/css/parsing-css-matches-8-expected.txt. 73 * fast/css/parsing-css-not-8.html: Copied from LayoutTests/fast/css/parsing-css-matches-8.html. 74 * fast/css/parsing-css-not-9-expected.txt: Added. 75 * fast/css/parsing-css-not-9.html: Copied from LayoutTests/fast/css/parsing-css-matches-8.html. 76 Parsing of :not(). A lot of them were inspired by Yusuke Suzuki's test suite 77 for :matches(). A lot of test case apply to :not(), the main difference is that 78 pseudo elements must fail inside :not(). 79 80 * fast/css/parsing-css-nth-child-of-4-expected.txt: Added. 81 * fast/css/parsing-css-nth-child-of-4.html: Added. 82 With the introduction of :matches(), it is possible to have arbitrarily deep pseudo elements. 83 The tests for :not() cover the case fixed with this patch, this addition covers :nth-child(of). 84 85 * fast/selectors/not-basics-expected.txt: Added. 86 * fast/selectors/not-basics.html: Added. 87 * fast/selectors/not-nested-expected.txt: Added. 88 * fast/selectors/not-nested.html: Added. 89 * fast/selectors/not-selector-list-expected.txt: Added. 90 * fast/selectors/not-selector-list.html: Added. 91 Test coverage for the new features. 92 1 93 2014-10-09 Simon Fraser <simon.fraser@apple.com> 2 94 -
trunk/LayoutTests/TestExpectations
r174495 r174535 217 217 # Promises/A+ 2.3.3 has many tests and it sometimes exceeds the time limit. 218 218 webkit.org/b/136878 js/promises-tests/promises-tests-2-3-3.html [ Slow ] 219 220 # Intentional breaking of :not(:link) and :not(:visited) for the development of the extended :not() from CSS Selector Level 4. 221 fast/history/link-inside-not.html [ Failure ] 222 -
trunk/LayoutTests/fast/css/css-selector-text-expected.txt
r174259 r174535 128 128 PASS parseThenSerializeRule(':-webkit-any(:matches(.ok a > .ok ::first-letter, .ok b ~ .ok ::first-line, .ok c .ok ::after, .ok d + .ok ::before)) { }') is ':-webkit-any(:matches(.ok a > .ok ::first-letter, .ok b ~ .ok ::first-line, .ok c .ok ::after, .ok d + .ok ::before)) { }' 129 129 130 PASS parseThenSerializeRule(':not(div) { }') is ':not(div) { }' 131 PASS parseThenSerializeRule(':not(.div) { }') is ':not(.div) { }' 132 PASS parseThenSerializeRule(':not(#div) { }') is ':not(#div) { }' 133 PASS parseThenSerializeRule(':not([div]) { }') is ':not([div]) { }' 134 PASS parseThenSerializeRule(':not(:empty) { }') is ':not(:empty) { }' 135 PASS parseThenSerializeRule(':not(div.div#div[div]:empty) { }') is ':not(div.div#div[div]:empty) { }' 136 PASS parseThenSerializeRule(':not(div.div:empty[div]#div) { }') is ':not(div.div:empty[div]#div) { }' 137 PASS parseThenSerializeRule(':not(div.div, #div[div], :empty) { }') is ':not(div.div, #div[div], :empty) { }' 138 PASS parseThenSerializeRule(':not(div, .div, #div, [div], :empty) { }') is ':not(div, .div, #div, [div], :empty) { }' 139 PASS parseThenSerializeRule(':not(:not(div)) { }') is ':not(:not(div)) { }' 140 PASS parseThenSerializeRule(':not(:not(div)):not(:not(foo)):not(:not(bar)) { }') is ':not(:not(div)):not(:not(foo)):not(:not(bar)) { }' 141 PASS parseThenSerializeRule(':not(:not(div, :not(foo, bar))):not(:not(foo)):not(:not(bar, baz)) { }') is ':not(:not(div, :not(foo, bar))):not(:not(foo)):not(:not(bar, baz)) { }' 142 PASS parseThenSerializeRule(':not(:matches(*)) { }') is ':not(:matches(*)) { }' 143 PASS parseThenSerializeRule(':not(:matches(foo, bar)) { }') is ':not(:matches(foo, bar)) { }' 144 PASS parseThenSerializeRule(':not(:matches(foo, bar), :matches(.foo, .bar), :matches(#foo, #bar), :matches([foo], [bar])) { }') is ':not(:matches(foo, bar), :matches(.foo, .bar), :matches(#foo, #bar), :matches([foo], [bar])) { }' 145 PASS parseThenSerializeRule(':not(:matches(foo, bar:not(:empty)), :matches(.foo, .bar:not(:not(.mosaic))), :matches(#foo, #bar), :matches([foo], [bar])) { }') is ':not(:matches(foo, bar:not(:empty)), :matches(.foo, .bar:not(:not(.mosaic))), :matches(#foo, #bar), :matches([foo], [bar])) { }' 146 PASS parseThenSerializeRule(':nth-child(2n of :not(a.b, c#d.e)) { }') is ':nth-child(2n of :not(a.b, c#d.e)) { }' 147 PASS parseThenSerializeRule(':not(:nth-child(2n of :not(a.b, c#d.e))) { }') is ':not(:nth-child(2n of :not(a.b, c#d.e))) { }' 148 PASS parseThenSerializeRule(':not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) { }') is ':not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) { }' 149 PASS parseThenSerializeRule('a:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) b + c:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) ~ d:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) > d:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) { }') is 'a:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) b + c:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) ~ d:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) > d:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) { }' 150 130 151 PASS parseThenSerializeRule('::-webkit-file-upload-button { }') is '*::-webkit-file-upload-button { }' 131 152 PASS parseThenSerializeRule('::-webkit-search-cancel-button { }') is '*::-webkit-search-cancel-button { }' … … 197 218 PASS parseThenSerializeRule(':matches(.ok a> .ok ::first-letter, .ok b ~.ok :first-line, .ok c .ok ::after, .ok d + .ok ::before) { }') is ':matches(.ok a > .ok ::first-letter, .ok b ~ .ok ::first-line, .ok c .ok ::after, .ok d + .ok ::before) { }' 198 219 220 PASS parseThenSerializeRule(':not(single ) { }') is ':not(single) { }' 221 PASS parseThenSerializeRule(':not(a,b ,p) { }') is ':not(a, b, p) { }' 222 PASS parseThenSerializeRule(':not(#alice, #bob,#chris) { }') is ':not(#alice, #bob, #chris) { }' 223 PASS parseThenSerializeRule(':not( .selector,#tama, #hanayo,#midoriko) { }') is ':not(.selector, #tama, #hanayo, #midoriko) { }' 224 PASS parseThenSerializeRule(':not( .name,#ok,:visited ) { }') is ':not(.name, #ok, :visited) { }' 225 PASS parseThenSerializeRule(':not( .name,#ok, :visited, :link) { }') is ':not(.name, #ok, :visited, :link) { }' 226 PASS parseThenSerializeRule(':not( .name,#ok, :not(:visited )) { }') is ':not(.name, #ok, :not(:visited)) { }' 227 PASS parseThenSerializeRule(':not(.name, #ok,:not(:link)) { }') is ':not(.name, #ok, :not(:link)) { }' 228 PASS parseThenSerializeRule(':not(.name,#ok,:not(:link)) { }') is ':not(.name, #ok, :not(:link)) { }' 229 PASS parseThenSerializeRule(':not( .name,#ok,:-webkit-any( hello)) { }') is ':not(.name, #ok, :-webkit-any(hello)) { }' 230 PASS parseThenSerializeRule(':not( .name,#ok, :-webkit-any(.selector, #tama, #hanayo, #midoriko)) { }') is ':not(.name, #ok, :-webkit-any(.selector,#tama,#hanayo,#midoriko)) { }' 231 PASS parseThenSerializeRule(':not( [type="file"]) { }') is ':not([type="file"]) { }' 232 PASS parseThenSerializeRule(':not( :hover ) { }') is ':not(:hover) { }' 233 PASS parseThenSerializeRule('input:not([type="file"],:hover,:focus):enabled { }') is 'input:not([type="file"], :hover, :focus):enabled { }' 234 PASS parseThenSerializeRule(':not(input[type="file"], a:hover, button:focus) { }') is ':not(input[type="file"], a:hover, button:focus) { }' 235 PASS parseThenSerializeRule(':not( .class1.class2.class3 ) { }') is ':not(.class1.class2.class3) { }' 236 PASS parseThenSerializeRule(':not(.class1:hover ) { }') is ':not(.class1:hover) { }' 237 PASS parseThenSerializeRule(':not(a.class1.class2.class3:hover ) { }') is ':not(a.class1.class2.class3:hover) { }' 238 PASS parseThenSerializeRule(':not(:matches(single ),:matches(a,b ,p),:matches(#alice, #bob,#chris)) { }') is ':not(:matches(single), :matches(a, b, p), :matches(#alice, #bob, #chris)) { }' 239 199 240 PASS successfullyParsed is true 200 241 -
trunk/LayoutTests/fast/css/css-selector-text.html
r174259 r174535 173 173 debug(''); 174 174 175 testSelectorRoundTrip(':not(div)'); 176 testSelectorRoundTrip(':not(.div)'); 177 testSelectorRoundTrip(':not(#div)'); 178 testSelectorRoundTrip(':not([div])'); 179 testSelectorRoundTrip(':not(:empty)'); 180 testSelectorRoundTrip(':not(div.div#div[div]:empty)'); 181 testSelectorRoundTrip(':not(div.div:empty[div]#div)'); 182 testSelectorRoundTrip(':not(div.div, #div[div], :empty)'); 183 testSelectorRoundTrip(':not(div, .div, #div, [div], :empty)'); 184 185 testSelectorRoundTrip(':not(:not(div))'); 186 testSelectorRoundTrip(':not(:not(div)):not(:not(foo)):not(:not(bar))'); 187 testSelectorRoundTrip(':not(:not(div, :not(foo, bar))):not(:not(foo)):not(:not(bar, baz))'); 188 189 testSelectorRoundTrip(':not(:matches(*))'); 190 testSelectorRoundTrip(':not(:matches(foo, bar))'); 191 testSelectorRoundTrip(':not(:matches(foo, bar), :matches(.foo, .bar), :matches(#foo, #bar), :matches([foo], [bar]))'); 192 testSelectorRoundTrip(':not(:matches(foo, bar:not(:empty)), :matches(.foo, .bar:not(:not(.mosaic))), :matches(#foo, #bar), :matches([foo], [bar]))'); 193 194 testSelectorRoundTrip(':nth-child(2n of :not(a.b, c#d.e))'); 195 testSelectorRoundTrip(':not(:nth-child(2n of :not(a.b, c#d.e)))'); 196 197 testSelectorRoundTrip(':not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child)'); 198 testSelectorRoundTrip('a:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) b + c:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) ~ d:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) > d:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child)'); 199 200 debug(''); 201 175 202 shouldBe("parseThenSerializeRule('::-webkit-file-upload-button { }')", "'*::-webkit-file-upload-button { }'"); 176 203 shouldBe("parseThenSerializeRule('::-webkit-search-cancel-button { }')", "'*::-webkit-search-cancel-button { }'"); … … 260 287 debug(''); 261 288 289 shouldBe("parseThenSerializeRule(':not(single ) { }')", "':not(single) { }'"); 290 shouldBe("parseThenSerializeRule(':not(a,b ,p) { }')", "':not(a, b, p) { }'"); 291 shouldBe("parseThenSerializeRule(':not(#alice, #bob,#chris) { }')", "':not(#alice, #bob, #chris) { }'"); 292 shouldBe("parseThenSerializeRule(':not( .selector,#tama, #hanayo,#midoriko) { }')", "':not(.selector, #tama, #hanayo, #midoriko) { }'"); 293 shouldBe("parseThenSerializeRule(':not( .name,#ok,:visited ) { }')", "':not(.name, #ok, :visited) { }'"); 294 shouldBe("parseThenSerializeRule(':not( .name,#ok, :visited, :link) { }')", "':not(.name, #ok, :visited, :link) { }'"); 295 shouldBe("parseThenSerializeRule(':not( .name,#ok, :not(:visited )) { }')", "':not(.name, #ok, :not(:visited)) { }'"); 296 shouldBe("parseThenSerializeRule(':not(.name, #ok,:not(:link)) { }')", "':not(.name, #ok, :not(:link)) { }'"); 297 shouldBe("parseThenSerializeRule(':not(.name,#ok,:not(:link)) { }')", "':not(.name, #ok, :not(:link)) { }'"); 298 shouldBe("parseThenSerializeRule(':not( .name,#ok,:-webkit-any( hello)) { }')", "':not(.name, #ok, :-webkit-any(hello)) { }'"); 299 shouldBe("parseThenSerializeRule(':not( .name,#ok, :-webkit-any(.selector, #tama, #hanayo, #midoriko)) { }')", "':not(.name, #ok, :-webkit-any(.selector,#tama,#hanayo,#midoriko)) { }'"); 300 shouldBe("parseThenSerializeRule(':not( [type=\"file\"]) { }')", "':not([type=\"file\"]) { }'"); 301 shouldBe("parseThenSerializeRule(':not( :hover ) { }')", "':not(:hover) { }'"); 302 shouldBe("parseThenSerializeRule('input:not([type=\"file\"],:hover,:focus):enabled { }')", "'input:not([type=\"file\"], :hover, :focus):enabled { }'"); 303 shouldBe("parseThenSerializeRule(':not(input[type=\"file\"], a:hover, button:focus) { }')", "':not(input[type=\"file\"], a:hover, button:focus) { }'"); 304 shouldBe("parseThenSerializeRule(':not( .class1.class2.class3 ) { }')", "':not(.class1.class2.class3) { }'"); 305 shouldBe("parseThenSerializeRule(':not(.class1:hover ) { }')", "':not(.class1:hover) { }'"); 306 shouldBe("parseThenSerializeRule(':not(a.class1.class2.class3:hover ) { }')", "':not(a.class1.class2.class3:hover) { }'"); 307 shouldBe("parseThenSerializeRule(':not(:matches(single ),:matches(a,b ,p),:matches(#alice, #bob,#chris)) { }')", "':not(:matches(single), :matches(a, b, p), :matches(#alice, #bob, #chris)) { }'"); 308 309 debug(''); 310 262 311 </script> 263 312 <script src="../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/css/css-set-selector-text-expected.txt
r174259 r174535 138 138 PASS setThenReadSelectorText(':-webkit-any(:matches(.ok a > .ok ::first-letter, .ok b ~ .ok ::first-line, .ok c .ok ::after, .ok d + .ok ::before))') is ':-webkit-any(:matches(.ok a > .ok ::first-letter, .ok b ~ .ok ::first-line, .ok c .ok ::after, .ok d + .ok ::before))' 139 139 140 PASS setThenReadSelectorText(':not(div)') is ':not(div)' 141 PASS setThenReadSelectorText(':not(.div)') is ':not(.div)' 142 PASS setThenReadSelectorText(':not(#div)') is ':not(#div)' 143 PASS setThenReadSelectorText(':not([div])') is ':not([div])' 144 PASS setThenReadSelectorText(':not(:empty)') is ':not(:empty)' 145 PASS setThenReadSelectorText(':not(div.div#div[div]:empty)') is ':not(div.div#div[div]:empty)' 146 PASS setThenReadSelectorText(':not(div.div:empty[div]#div)') is ':not(div.div:empty[div]#div)' 147 PASS setThenReadSelectorText(':not(div.div, #div[div], :empty)') is ':not(div.div, #div[div], :empty)' 148 PASS setThenReadSelectorText(':not(div, .div, #div, [div], :empty)') is ':not(div, .div, #div, [div], :empty)' 149 PASS setThenReadSelectorText(':not(:not(div))') is ':not(:not(div))' 150 PASS setThenReadSelectorText(':not(:not(div)):not(:not(foo)):not(:not(bar))') is ':not(:not(div)):not(:not(foo)):not(:not(bar))' 151 PASS setThenReadSelectorText(':not(:not(div, :not(foo, bar))):not(:not(foo)):not(:not(bar, baz))') is ':not(:not(div, :not(foo, bar))):not(:not(foo)):not(:not(bar, baz))' 152 PASS setThenReadSelectorText(':not(:matches(*))') is ':not(:matches(*))' 153 PASS setThenReadSelectorText(':not(:matches(foo, bar))') is ':not(:matches(foo, bar))' 154 PASS setThenReadSelectorText(':not(:matches(foo, bar), :matches(.foo, .bar), :matches(#foo, #bar), :matches([foo], [bar]))') is ':not(:matches(foo, bar), :matches(.foo, .bar), :matches(#foo, #bar), :matches([foo], [bar]))' 155 PASS setThenReadSelectorText(':not(:matches(foo, bar:not(:empty)), :matches(.foo, .bar:not(:not(.mosaic))), :matches(#foo, #bar), :matches([foo], [bar]))') is ':not(:matches(foo, bar:not(:empty)), :matches(.foo, .bar:not(:not(.mosaic))), :matches(#foo, #bar), :matches([foo], [bar]))' 156 PASS setThenReadSelectorText(':nth-child(2n of :not(a.b, c#d.e))') is ':nth-child(2n of :not(a.b, c#d.e))' 157 PASS setThenReadSelectorText(':not(:nth-child(2n of :not(a.b, c#d.e)))') is ':not(:nth-child(2n of :not(a.b, c#d.e)))' 158 PASS setThenReadSelectorText(':not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child)') is ':not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child)' 159 PASS setThenReadSelectorText('a:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) b + c:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) ~ d:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) > d:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child)') is 'a:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) b + c:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) ~ d:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) > d:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child)' 160 140 161 PASS setThenReadSelectorText('::-webkit-file-upload-button') is '*::-webkit-file-upload-button' 141 162 PASS setThenReadSelectorText('::-webkit-search-cancel-button') is '*::-webkit-search-cancel-button' … … 207 228 PASS setThenReadSelectorText(':matches(.ok a> .ok ::first-letter, .ok b ~.ok :first-line, .ok c .ok ::after, .ok d + .ok ::before)') is ':matches(.ok a > .ok ::first-letter, .ok b ~ .ok ::first-line, .ok c .ok ::after, .ok d + .ok ::before)' 208 229 230 PASS setThenReadSelectorText(':not(single )') is ':not(single)' 231 PASS setThenReadSelectorText(':not(a,b ,p)') is ':not(a, b, p)' 232 PASS setThenReadSelectorText(':not(#alice, #bob,#chris)') is ':not(#alice, #bob, #chris)' 233 PASS setThenReadSelectorText(':not( .selector,#tama, #hanayo,#midoriko)') is ':not(.selector, #tama, #hanayo, #midoriko)' 234 PASS setThenReadSelectorText(':not( .name,#ok,:visited )') is ':not(.name, #ok, :visited)' 235 PASS setThenReadSelectorText(':not( .name,#ok, :visited, :link)') is ':not(.name, #ok, :visited, :link)' 236 PASS setThenReadSelectorText(':not( .name,#ok, :not(:visited ))') is ':not(.name, #ok, :not(:visited))' 237 PASS setThenReadSelectorText(':not(.name, #ok,:not(:link))') is ':not(.name, #ok, :not(:link))' 238 PASS setThenReadSelectorText(':not(.name,#ok,:not(:link))') is ':not(.name, #ok, :not(:link))' 239 PASS setThenReadSelectorText(':not( .name,#ok,:-webkit-any( hello))') is ':not(.name, #ok, :-webkit-any(hello))' 240 PASS setThenReadSelectorText(':not( .name,#ok, :-webkit-any(.selector, #tama, #hanayo, #midoriko))') is ':not(.name, #ok, :-webkit-any(.selector,#tama,#hanayo,#midoriko))' 241 PASS setThenReadSelectorText(':not( [type="file"])') is ':not([type="file"])' 242 PASS setThenReadSelectorText(':not( :hover )') is ':not(:hover)' 243 PASS setThenReadSelectorText('input:not([type="file"],:hover,:focus):enabled') is 'input:not([type="file"], :hover, :focus):enabled' 244 PASS setThenReadSelectorText(':not(input[type="file"], a:hover, button:focus)') is ':not(input[type="file"], a:hover, button:focus)' 245 PASS setThenReadSelectorText(':not( .class1.class2.class3 )') is ':not(.class1.class2.class3)' 246 PASS setThenReadSelectorText(':not(.class1:hover )') is ':not(.class1:hover)' 247 PASS setThenReadSelectorText(':not(a.class1.class2.class3:hover )') is ':not(a.class1.class2.class3:hover)' 248 PASS setThenReadSelectorText(':not(:matches(single ),:matches(a,b ,p),:matches(#alice, #bob,#chris))') is ':not(:matches(single), :matches(a, b, p), :matches(#alice, #bob, #chris))' 249 209 250 PASS successfullyParsed is true 210 251 -
trunk/LayoutTests/fast/css/css-set-selector-text.html
r174259 r174535 189 189 debug(''); 190 190 191 testSelectorRoundTrip(':not(div)'); 192 testSelectorRoundTrip(':not(.div)'); 193 testSelectorRoundTrip(':not(#div)'); 194 testSelectorRoundTrip(':not([div])'); 195 testSelectorRoundTrip(':not(:empty)'); 196 testSelectorRoundTrip(':not(div.div#div[div]:empty)'); 197 testSelectorRoundTrip(':not(div.div:empty[div]#div)'); 198 testSelectorRoundTrip(':not(div.div, #div[div], :empty)'); 199 testSelectorRoundTrip(':not(div, .div, #div, [div], :empty)'); 200 201 testSelectorRoundTrip(':not(:not(div))'); 202 testSelectorRoundTrip(':not(:not(div)):not(:not(foo)):not(:not(bar))'); 203 testSelectorRoundTrip(':not(:not(div, :not(foo, bar))):not(:not(foo)):not(:not(bar, baz))'); 204 205 testSelectorRoundTrip(':not(:matches(*))'); 206 testSelectorRoundTrip(':not(:matches(foo, bar))'); 207 testSelectorRoundTrip(':not(:matches(foo, bar), :matches(.foo, .bar), :matches(#foo, #bar), :matches([foo], [bar]))'); 208 testSelectorRoundTrip(':not(:matches(foo, bar:not(:empty)), :matches(.foo, .bar:not(:not(.mosaic))), :matches(#foo, #bar), :matches([foo], [bar]))'); 209 210 testSelectorRoundTrip(':nth-child(2n of :not(a.b, c#d.e))'); 211 testSelectorRoundTrip(':not(:nth-child(2n of :not(a.b, c#d.e)))'); 212 213 testSelectorRoundTrip(':not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child)'); 214 testSelectorRoundTrip('a:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) b + c:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) ~ d:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child) > d:not(a .b, #c > [d], e + f:empty, .g ~ #h:first-child)'); 215 216 debug(''); 217 191 218 shouldBe("setThenReadSelectorText('::-webkit-file-upload-button')", "'*::-webkit-file-upload-button'"); 192 219 shouldBe("setThenReadSelectorText('::-webkit-search-cancel-button')", "'*::-webkit-search-cancel-button'"); … … 276 303 debug(''); 277 304 305 shouldBe("setThenReadSelectorText(':not(single )')", "':not(single)'"); 306 shouldBe("setThenReadSelectorText(':not(a,b ,p)')", "':not(a, b, p)'"); 307 shouldBe("setThenReadSelectorText(':not(#alice, #bob,#chris)')", "':not(#alice, #bob, #chris)'"); 308 shouldBe("setThenReadSelectorText(':not( .selector,#tama, #hanayo,#midoriko)')", "':not(.selector, #tama, #hanayo, #midoriko)'"); 309 shouldBe("setThenReadSelectorText(':not( .name,#ok,:visited )')", "':not(.name, #ok, :visited)'"); 310 shouldBe("setThenReadSelectorText(':not( .name,#ok, :visited, :link)')", "':not(.name, #ok, :visited, :link)'"); 311 shouldBe("setThenReadSelectorText(':not( .name,#ok, :not(:visited ))')", "':not(.name, #ok, :not(:visited))'"); 312 shouldBe("setThenReadSelectorText(':not(.name, #ok,:not(:link))')", "':not(.name, #ok, :not(:link))'"); 313 shouldBe("setThenReadSelectorText(':not(.name,#ok,:not(:link))')", "':not(.name, #ok, :not(:link))'"); 314 shouldBe("setThenReadSelectorText(':not( .name,#ok,:-webkit-any( hello))')", "':not(.name, #ok, :-webkit-any(hello))'"); 315 shouldBe("setThenReadSelectorText(':not( .name,#ok, :-webkit-any(.selector, #tama, #hanayo, #midoriko))')", "':not(.name, #ok, :-webkit-any(.selector,#tama,#hanayo,#midoriko))'"); 316 shouldBe("setThenReadSelectorText(':not( [type=\"file\"])')", "':not([type=\"file\"])'"); 317 shouldBe("setThenReadSelectorText(':not( :hover )')", "':not(:hover)'"); 318 shouldBe("setThenReadSelectorText('input:not([type=\"file\"],:hover,:focus):enabled')", "'input:not([type=\"file\"], :hover, :focus):enabled'"); 319 shouldBe("setThenReadSelectorText(':not(input[type=\"file\"], a:hover, button:focus)')", "':not(input[type=\"file\"], a:hover, button:focus)'"); 320 shouldBe("setThenReadSelectorText(':not( .class1.class2.class3 )')", "':not(.class1.class2.class3)'"); 321 shouldBe("setThenReadSelectorText(':not(.class1:hover )')", "':not(.class1:hover)'"); 322 shouldBe("setThenReadSelectorText(':not(a.class1.class2.class3:hover )')", "':not(a.class1.class2.class3:hover)'"); 323 shouldBe("setThenReadSelectorText(':not(:matches(single ),:matches(a,b ,p),:matches(#alice, #bob,#chris))')", "':not(:matches(single), :matches(a, b, p), :matches(#alice, #bob, #chris))'"); 324 325 debug(''); 326 278 327 </script> 279 328 <script src="../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/css/parsing-css-matches-5-expected.txt
r174259 r174535 10 10 PASS document.getElementById('style-container').sheet.cssRules.length is 0 11 11 PASS document.querySelector(":matches(,)") threw exception Error: SyntaxError: DOM Exception 12. 12 PASS document.getElementById('style-container').sheet.cssRules.length is 013 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.14 12 PASS document.getElementById('style-container').sheet.cssRules.length is 0 15 13 PASS document.querySelector(":matches(.123class)") threw exception Error: SyntaxError: DOM Exception 12. -
trunk/LayoutTests/fast/css/parsing-css-matches-5.html
r174259 r174535 26 26 ",", 27 27 28 // Currently not allows functional pseudo classes inside :not.29 ":not(:matches(cocoa, cappuccino))",30 31 28 ".123class", 32 29 "#123id", -
trunk/LayoutTests/fast/css/parsing-css-matches-6-expected.txt
r174259 r174535 11 11 PASS document.querySelector(":matches(*,,)") threw exception Error: SyntaxError: DOM Exception 12. 12 12 PASS document.getElementById('style-container').sheet.cssRules.length is 0 13 PASS document.querySelector(":matches(*,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.14 PASS document.getElementById('style-container').sheet.cssRules.length is 015 13 PASS document.querySelector(":matches(*,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 16 14 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 39 37 PASS document.querySelector(":matches(foobar,,)") threw exception Error: SyntaxError: DOM Exception 12. 40 38 PASS document.getElementById('style-container').sheet.cssRules.length is 0 41 PASS document.querySelector(":matches(foobar,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.42 PASS document.getElementById('style-container').sheet.cssRules.length is 043 39 PASS document.querySelector(":matches(foobar,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 44 40 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 67 63 PASS document.querySelector(":matches(#id,,)") threw exception Error: SyntaxError: DOM Exception 12. 68 64 PASS document.getElementById('style-container').sheet.cssRules.length is 0 69 PASS document.querySelector(":matches(#id,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.70 PASS document.getElementById('style-container').sheet.cssRules.length is 071 65 PASS document.querySelector(":matches(#id,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 72 66 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 95 89 PASS document.querySelector(":matches(.class,,)") threw exception Error: SyntaxError: DOM Exception 12. 96 90 PASS document.getElementById('style-container').sheet.cssRules.length is 0 97 PASS document.querySelector(":matches(.class,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.98 PASS document.getElementById('style-container').sheet.cssRules.length is 099 91 PASS document.querySelector(":matches(.class,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 100 92 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 123 115 PASS document.querySelector(":matches(:first-child,,)") threw exception Error: SyntaxError: DOM Exception 12. 124 116 PASS document.getElementById('style-container').sheet.cssRules.length is 0 125 PASS document.querySelector(":matches(:first-child,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.126 PASS document.getElementById('style-container').sheet.cssRules.length is 0127 117 PASS document.querySelector(":matches(:first-child,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 128 118 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 151 141 PASS document.querySelector(":matches(:last-child,,)") threw exception Error: SyntaxError: DOM Exception 12. 152 142 PASS document.getElementById('style-container').sheet.cssRules.length is 0 153 PASS document.querySelector(":matches(:last-child,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.154 PASS document.getElementById('style-container').sheet.cssRules.length is 0155 143 PASS document.querySelector(":matches(:last-child,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 156 144 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 179 167 PASS document.querySelector(":matches(:visited,,)") threw exception Error: SyntaxError: DOM Exception 12. 180 168 PASS document.getElementById('style-container').sheet.cssRules.length is 0 181 PASS document.querySelector(":matches(:visited,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.182 PASS document.getElementById('style-container').sheet.cssRules.length is 0183 169 PASS document.querySelector(":matches(:visited,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 184 170 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 207 193 PASS document.querySelector(":matches(::first-letter,,)") threw exception Error: SyntaxError: DOM Exception 12. 208 194 PASS document.getElementById('style-container').sheet.cssRules.length is 0 209 PASS document.querySelector(":matches(::first-letter,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.210 PASS document.getElementById('style-container').sheet.cssRules.length is 0211 195 PASS document.querySelector(":matches(::first-letter,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 212 196 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 235 219 PASS document.querySelector(":matches(::first-line,,)") threw exception Error: SyntaxError: DOM Exception 12. 236 220 PASS document.getElementById('style-container').sheet.cssRules.length is 0 237 PASS document.querySelector(":matches(::first-line,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.238 PASS document.getElementById('style-container').sheet.cssRules.length is 0239 221 PASS document.querySelector(":matches(::first-line,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 240 222 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 263 245 PASS document.querySelector(":matches(::before,,)") threw exception Error: SyntaxError: DOM Exception 12. 264 246 PASS document.getElementById('style-container').sheet.cssRules.length is 0 265 PASS document.querySelector(":matches(::before,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.266 PASS document.getElementById('style-container').sheet.cssRules.length is 0267 247 PASS document.querySelector(":matches(::before,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 268 248 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 291 271 PASS document.querySelector(":matches(::after,,)") threw exception Error: SyntaxError: DOM Exception 12. 292 272 PASS document.getElementById('style-container').sheet.cssRules.length is 0 293 PASS document.querySelector(":matches(::after,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.294 PASS document.getElementById('style-container').sheet.cssRules.length is 0295 273 PASS document.querySelector(":matches(::after,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 296 274 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 319 297 PASS document.querySelector(":matches(foobar#id.class,,)") threw exception Error: SyntaxError: DOM Exception 12. 320 298 PASS document.getElementById('style-container').sheet.cssRules.length is 0 321 PASS document.querySelector(":matches(foobar#id.class,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.322 PASS document.getElementById('style-container').sheet.cssRules.length is 0323 299 PASS document.querySelector(":matches(foobar#id.class,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 324 300 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 347 323 PASS document.querySelector(":matches(.class:not(.notclass),,)") threw exception Error: SyntaxError: DOM Exception 12. 348 324 PASS document.getElementById('style-container').sheet.cssRules.length is 0 349 PASS document.querySelector(":matches(.class:not(.notclass),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.350 PASS document.getElementById('style-container').sheet.cssRules.length is 0351 325 PASS document.querySelector(":matches(.class:not(.notclass),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 352 326 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 375 349 PASS document.querySelector(":matches(#id:empty,,)") threw exception Error: SyntaxError: DOM Exception 12. 376 350 PASS document.getElementById('style-container').sheet.cssRules.length is 0 377 PASS document.querySelector(":matches(#id:empty,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.378 PASS document.getElementById('style-container').sheet.cssRules.length is 0379 351 PASS document.querySelector(":matches(#id:empty,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 380 352 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 403 375 PASS document.querySelector(":matches(a > b,,)") threw exception Error: SyntaxError: DOM Exception 12. 404 376 PASS document.getElementById('style-container').sheet.cssRules.length is 0 405 PASS document.querySelector(":matches(a > b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.406 PASS document.getElementById('style-container').sheet.cssRules.length is 0407 377 PASS document.querySelector(":matches(a > b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 408 378 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 431 401 PASS document.querySelector(":matches(a b,,)") threw exception Error: SyntaxError: DOM Exception 12. 432 402 PASS document.getElementById('style-container').sheet.cssRules.length is 0 433 PASS document.querySelector(":matches(a b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.434 PASS document.getElementById('style-container').sheet.cssRules.length is 0435 403 PASS document.querySelector(":matches(a b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 436 404 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 459 427 PASS document.querySelector(":matches(a + b,,)") threw exception Error: SyntaxError: DOM Exception 12. 460 428 PASS document.getElementById('style-container').sheet.cssRules.length is 0 461 PASS document.querySelector(":matches(a + b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.462 PASS document.getElementById('style-container').sheet.cssRules.length is 0463 429 PASS document.querySelector(":matches(a + b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 464 430 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 487 453 PASS document.querySelector(":matches(a ~ b,,)") threw exception Error: SyntaxError: DOM Exception 12. 488 454 PASS document.getElementById('style-container').sheet.cssRules.length is 0 489 PASS document.querySelector(":matches(a ~ b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.490 PASS document.getElementById('style-container').sheet.cssRules.length is 0491 455 PASS document.querySelector(":matches(a ~ b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 492 456 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 515 479 PASS document.querySelector(":matches(a + b > c ~ d e + g,,)") threw exception Error: SyntaxError: DOM Exception 12. 516 480 PASS document.getElementById('style-container').sheet.cssRules.length is 0 517 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.518 PASS document.getElementById('style-container').sheet.cssRules.length is 0519 481 PASS document.querySelector(":matches(a + b > c ~ d e + g,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 520 482 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 543 505 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),,)") threw exception Error: SyntaxError: DOM Exception 12. 544 506 PASS document.getElementById('style-container').sheet.cssRules.length is 0 545 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.546 PASS document.getElementById('style-container').sheet.cssRules.length is 0547 507 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 548 508 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 571 531 PASS document.querySelector(":matches(:not(:link),,)") threw exception Error: SyntaxError: DOM Exception 12. 572 532 PASS document.getElementById('style-container').sheet.cssRules.length is 0 573 PASS document.querySelector(":matches(:not(:link),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.574 PASS document.getElementById('style-container').sheet.cssRules.length is 0575 533 PASS document.querySelector(":matches(:not(:link),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 576 534 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 593 551 PASS document.querySelector(":matches(:not(:link),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 594 552 PASS document.getElementById('style-container').sheet.cssRules.length is 0 553 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 554 PASS document.getElementById('style-container').sheet.cssRules.length is 0 555 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 556 PASS document.getElementById('style-container').sheet.cssRules.length is 0 557 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 558 PASS document.getElementById('style-container').sheet.cssRules.length is 0 559 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 560 PASS document.getElementById('style-container').sheet.cssRules.length is 0 561 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 562 PASS document.getElementById('style-container').sheet.cssRules.length is 0 563 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 564 PASS document.getElementById('style-container').sheet.cssRules.length is 0 565 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 566 PASS document.getElementById('style-container').sheet.cssRules.length is 0 567 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 568 PASS document.getElementById('style-container').sheet.cssRules.length is 0 569 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 570 PASS document.getElementById('style-container').sheet.cssRules.length is 0 571 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 572 PASS document.getElementById('style-container').sheet.cssRules.length is 0 573 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 574 PASS document.getElementById('style-container').sheet.cssRules.length is 0 575 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 576 PASS document.getElementById('style-container').sheet.cssRules.length is 0 577 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 578 PASS document.getElementById('style-container').sheet.cssRules.length is 0 595 579 PASS document.querySelector(":matches(:nth-child(even of a, b, c),)") threw exception Error: SyntaxError: DOM Exception 12. 596 580 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 598 582 PASS document.getElementById('style-container').sheet.cssRules.length is 0 599 583 PASS document.querySelector(":matches(:nth-child(even of a, b, c),,)") threw exception Error: SyntaxError: DOM Exception 12. 600 PASS document.getElementById('style-container').sheet.cssRules.length is 0601 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.602 584 PASS document.getElementById('style-container').sheet.cssRules.length is 0 603 585 PASS document.querySelector(":matches(:nth-child(even of a, b, c),.123class)") threw exception Error: SyntaxError: DOM Exception 12. -
trunk/LayoutTests/fast/css/parsing-css-matches-6.html
r174259 r174535 51 51 ":-webkit-any(.selector,#tama,#hanayo,#midoriko)", 52 52 ":not(:link)", 53 ":not(:matches(cocoa, cappuccino))", 53 54 ":nth-child(even of a, b, c)", 54 55 ]; … … 59 60 " ", 60 61 ",", 61 62 // Currently not allows functional pseudo classes inside :not.63 ":not(:matches(cocoa, cappuccino))",64 62 65 63 ".123class", -
trunk/LayoutTests/fast/css/parsing-css-matches-7-expected.txt
r174259 r174535 11 11 PASS document.querySelector(":matches(*,*,,)") threw exception Error: SyntaxError: DOM Exception 12. 12 12 PASS document.getElementById('style-container').sheet.cssRules.length is 0 13 PASS document.querySelector(":matches(*,*,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.14 PASS document.getElementById('style-container').sheet.cssRules.length is 015 13 PASS document.querySelector(":matches(*,*,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 16 14 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 39 37 PASS document.querySelector(":matches(*,#id,,)") threw exception Error: SyntaxError: DOM Exception 12. 40 38 PASS document.getElementById('style-container').sheet.cssRules.length is 0 41 PASS document.querySelector(":matches(*,#id,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.42 PASS document.getElementById('style-container').sheet.cssRules.length is 043 39 PASS document.querySelector(":matches(*,#id,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 44 40 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 67 63 PASS document.querySelector(":matches(*,:first-child,,)") threw exception Error: SyntaxError: DOM Exception 12. 68 64 PASS document.getElementById('style-container').sheet.cssRules.length is 0 69 PASS document.querySelector(":matches(*,:first-child,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.70 PASS document.getElementById('style-container').sheet.cssRules.length is 071 65 PASS document.querySelector(":matches(*,:first-child,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 72 66 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 95 89 PASS document.querySelector(":matches(*,:visited,,)") threw exception Error: SyntaxError: DOM Exception 12. 96 90 PASS document.getElementById('style-container').sheet.cssRules.length is 0 97 PASS document.querySelector(":matches(*,:visited,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.98 PASS document.getElementById('style-container').sheet.cssRules.length is 099 91 PASS document.querySelector(":matches(*,:visited,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 100 92 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 123 115 PASS document.querySelector(":matches(*,::first-line,,)") threw exception Error: SyntaxError: DOM Exception 12. 124 116 PASS document.getElementById('style-container').sheet.cssRules.length is 0 125 PASS document.querySelector(":matches(*,::first-line,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.126 PASS document.getElementById('style-container').sheet.cssRules.length is 0127 117 PASS document.querySelector(":matches(*,::first-line,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 128 118 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 151 141 PASS document.querySelector(":matches(*,::after,,)") threw exception Error: SyntaxError: DOM Exception 12. 152 142 PASS document.getElementById('style-container').sheet.cssRules.length is 0 153 PASS document.querySelector(":matches(*,::after,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.154 PASS document.getElementById('style-container').sheet.cssRules.length is 0155 143 PASS document.querySelector(":matches(*,::after,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 156 144 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 179 167 PASS document.querySelector(":matches(*,.class:not(.notclass),,)") threw exception Error: SyntaxError: DOM Exception 12. 180 168 PASS document.getElementById('style-container').sheet.cssRules.length is 0 181 PASS document.querySelector(":matches(*,.class:not(.notclass),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.182 PASS document.getElementById('style-container').sheet.cssRules.length is 0183 169 PASS document.querySelector(":matches(*,.class:not(.notclass),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 184 170 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 207 193 PASS document.querySelector(":matches(*,a > b,,)") threw exception Error: SyntaxError: DOM Exception 12. 208 194 PASS document.getElementById('style-container').sheet.cssRules.length is 0 209 PASS document.querySelector(":matches(*,a > b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.210 PASS document.getElementById('style-container').sheet.cssRules.length is 0211 195 PASS document.querySelector(":matches(*,a > b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 212 196 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 235 219 PASS document.querySelector(":matches(*,a + b,,)") threw exception Error: SyntaxError: DOM Exception 12. 236 220 PASS document.getElementById('style-container').sheet.cssRules.length is 0 237 PASS document.querySelector(":matches(*,a + b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.238 PASS document.getElementById('style-container').sheet.cssRules.length is 0239 221 PASS document.querySelector(":matches(*,a + b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 240 222 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 263 245 PASS document.querySelector(":matches(*,a + b > c ~ d e + g,,)") threw exception Error: SyntaxError: DOM Exception 12. 264 246 PASS document.getElementById('style-container').sheet.cssRules.length is 0 265 PASS document.querySelector(":matches(*,a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.266 PASS document.getElementById('style-container').sheet.cssRules.length is 0267 247 PASS document.querySelector(":matches(*,a + b > c ~ d e + g,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 268 248 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 291 271 PASS document.querySelector(":matches(*,:not(:link),,)") threw exception Error: SyntaxError: DOM Exception 12. 292 272 PASS document.getElementById('style-container').sheet.cssRules.length is 0 293 PASS document.querySelector(":matches(*,:not(:link),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.294 PASS document.getElementById('style-container').sheet.cssRules.length is 0295 273 PASS document.querySelector(":matches(*,:not(:link),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 296 274 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 313 291 PASS document.querySelector(":matches(*,:not(:link),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 314 292 PASS document.getElementById('style-container').sheet.cssRules.length is 0 293 PASS document.querySelector(":matches(*,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 294 PASS document.getElementById('style-container').sheet.cssRules.length is 0 295 PASS document.querySelector(":matches(*,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 296 PASS document.getElementById('style-container').sheet.cssRules.length is 0 297 PASS document.querySelector(":matches(*,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 298 PASS document.getElementById('style-container').sheet.cssRules.length is 0 299 PASS document.querySelector(":matches(*,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 300 PASS document.getElementById('style-container').sheet.cssRules.length is 0 301 PASS document.querySelector(":matches(*,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 302 PASS document.getElementById('style-container').sheet.cssRules.length is 0 303 PASS document.querySelector(":matches(*,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 304 PASS document.getElementById('style-container').sheet.cssRules.length is 0 305 PASS document.querySelector(":matches(*,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 306 PASS document.getElementById('style-container').sheet.cssRules.length is 0 307 PASS document.querySelector(":matches(*,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 308 PASS document.getElementById('style-container').sheet.cssRules.length is 0 309 PASS document.querySelector(":matches(*,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 310 PASS document.getElementById('style-container').sheet.cssRules.length is 0 311 PASS document.querySelector(":matches(*,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 312 PASS document.getElementById('style-container').sheet.cssRules.length is 0 313 PASS document.querySelector(":matches(*,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 314 PASS document.getElementById('style-container').sheet.cssRules.length is 0 315 PASS document.querySelector(":matches(*,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 316 PASS document.getElementById('style-container').sheet.cssRules.length is 0 317 PASS document.querySelector(":matches(*,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 318 PASS document.getElementById('style-container').sheet.cssRules.length is 0 315 319 PASS document.querySelector(":matches(#id,#id,)") threw exception Error: SyntaxError: DOM Exception 12. 316 320 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 319 323 PASS document.querySelector(":matches(#id,#id,,)") threw exception Error: SyntaxError: DOM Exception 12. 320 324 PASS document.getElementById('style-container').sheet.cssRules.length is 0 321 PASS document.querySelector(":matches(#id,#id,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.322 PASS document.getElementById('style-container').sheet.cssRules.length is 0323 325 PASS document.querySelector(":matches(#id,#id,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 324 326 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 347 349 PASS document.querySelector(":matches(#id,:first-child,,)") threw exception Error: SyntaxError: DOM Exception 12. 348 350 PASS document.getElementById('style-container').sheet.cssRules.length is 0 349 PASS document.querySelector(":matches(#id,:first-child,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.350 PASS document.getElementById('style-container').sheet.cssRules.length is 0351 351 PASS document.querySelector(":matches(#id,:first-child,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 352 352 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 375 375 PASS document.querySelector(":matches(#id,:visited,,)") threw exception Error: SyntaxError: DOM Exception 12. 376 376 PASS document.getElementById('style-container').sheet.cssRules.length is 0 377 PASS document.querySelector(":matches(#id,:visited,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.378 PASS document.getElementById('style-container').sheet.cssRules.length is 0379 377 PASS document.querySelector(":matches(#id,:visited,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 380 378 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 403 401 PASS document.querySelector(":matches(#id,::first-line,,)") threw exception Error: SyntaxError: DOM Exception 12. 404 402 PASS document.getElementById('style-container').sheet.cssRules.length is 0 405 PASS document.querySelector(":matches(#id,::first-line,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.406 PASS document.getElementById('style-container').sheet.cssRules.length is 0407 403 PASS document.querySelector(":matches(#id,::first-line,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 408 404 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 431 427 PASS document.querySelector(":matches(#id,::after,,)") threw exception Error: SyntaxError: DOM Exception 12. 432 428 PASS document.getElementById('style-container').sheet.cssRules.length is 0 433 PASS document.querySelector(":matches(#id,::after,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.434 PASS document.getElementById('style-container').sheet.cssRules.length is 0435 429 PASS document.querySelector(":matches(#id,::after,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 436 430 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 459 453 PASS document.querySelector(":matches(#id,.class:not(.notclass),,)") threw exception Error: SyntaxError: DOM Exception 12. 460 454 PASS document.getElementById('style-container').sheet.cssRules.length is 0 461 PASS document.querySelector(":matches(#id,.class:not(.notclass),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.462 PASS document.getElementById('style-container').sheet.cssRules.length is 0463 455 PASS document.querySelector(":matches(#id,.class:not(.notclass),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 464 456 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 487 479 PASS document.querySelector(":matches(#id,a > b,,)") threw exception Error: SyntaxError: DOM Exception 12. 488 480 PASS document.getElementById('style-container').sheet.cssRules.length is 0 489 PASS document.querySelector(":matches(#id,a > b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.490 PASS document.getElementById('style-container').sheet.cssRules.length is 0491 481 PASS document.querySelector(":matches(#id,a > b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 492 482 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 515 505 PASS document.querySelector(":matches(#id,a + b,,)") threw exception Error: SyntaxError: DOM Exception 12. 516 506 PASS document.getElementById('style-container').sheet.cssRules.length is 0 517 PASS document.querySelector(":matches(#id,a + b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.518 PASS document.getElementById('style-container').sheet.cssRules.length is 0519 507 PASS document.querySelector(":matches(#id,a + b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 520 508 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 543 531 PASS document.querySelector(":matches(#id,a + b > c ~ d e + g,,)") threw exception Error: SyntaxError: DOM Exception 12. 544 532 PASS document.getElementById('style-container').sheet.cssRules.length is 0 545 PASS document.querySelector(":matches(#id,a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.546 PASS document.getElementById('style-container').sheet.cssRules.length is 0547 533 PASS document.querySelector(":matches(#id,a + b > c ~ d e + g,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 548 534 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 571 557 PASS document.querySelector(":matches(#id,:not(:link),,)") threw exception Error: SyntaxError: DOM Exception 12. 572 558 PASS document.getElementById('style-container').sheet.cssRules.length is 0 573 PASS document.querySelector(":matches(#id,:not(:link),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.574 PASS document.getElementById('style-container').sheet.cssRules.length is 0575 559 PASS document.querySelector(":matches(#id,:not(:link),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 576 560 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 593 577 PASS document.querySelector(":matches(#id,:not(:link),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 594 578 PASS document.getElementById('style-container').sheet.cssRules.length is 0 579 PASS document.querySelector(":matches(#id,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 580 PASS document.getElementById('style-container').sheet.cssRules.length is 0 581 PASS document.querySelector(":matches(#id,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 582 PASS document.getElementById('style-container').sheet.cssRules.length is 0 583 PASS document.querySelector(":matches(#id,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 584 PASS document.getElementById('style-container').sheet.cssRules.length is 0 585 PASS document.querySelector(":matches(#id,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 586 PASS document.getElementById('style-container').sheet.cssRules.length is 0 587 PASS document.querySelector(":matches(#id,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 588 PASS document.getElementById('style-container').sheet.cssRules.length is 0 589 PASS document.querySelector(":matches(#id,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 590 PASS document.getElementById('style-container').sheet.cssRules.length is 0 591 PASS document.querySelector(":matches(#id,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 592 PASS document.getElementById('style-container').sheet.cssRules.length is 0 593 PASS document.querySelector(":matches(#id,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 594 PASS document.getElementById('style-container').sheet.cssRules.length is 0 595 PASS document.querySelector(":matches(#id,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 596 PASS document.getElementById('style-container').sheet.cssRules.length is 0 597 PASS document.querySelector(":matches(#id,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 598 PASS document.getElementById('style-container').sheet.cssRules.length is 0 599 PASS document.querySelector(":matches(#id,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 600 PASS document.getElementById('style-container').sheet.cssRules.length is 0 601 PASS document.querySelector(":matches(#id,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 602 PASS document.getElementById('style-container').sheet.cssRules.length is 0 603 PASS document.querySelector(":matches(#id,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 604 PASS document.getElementById('style-container').sheet.cssRules.length is 0 595 605 PASS document.querySelector(":matches(:first-child,:first-child,)") threw exception Error: SyntaxError: DOM Exception 12. 596 606 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 599 609 PASS document.querySelector(":matches(:first-child,:first-child,,)") threw exception Error: SyntaxError: DOM Exception 12. 600 610 PASS document.getElementById('style-container').sheet.cssRules.length is 0 601 PASS document.querySelector(":matches(:first-child,:first-child,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.602 PASS document.getElementById('style-container').sheet.cssRules.length is 0603 611 PASS document.querySelector(":matches(:first-child,:first-child,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 604 612 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 627 635 PASS document.querySelector(":matches(:first-child,:visited,,)") threw exception Error: SyntaxError: DOM Exception 12. 628 636 PASS document.getElementById('style-container').sheet.cssRules.length is 0 629 PASS document.querySelector(":matches(:first-child,:visited,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.630 PASS document.getElementById('style-container').sheet.cssRules.length is 0631 637 PASS document.querySelector(":matches(:first-child,:visited,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 632 638 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 655 661 PASS document.querySelector(":matches(:first-child,::first-line,,)") threw exception Error: SyntaxError: DOM Exception 12. 656 662 PASS document.getElementById('style-container').sheet.cssRules.length is 0 657 PASS document.querySelector(":matches(:first-child,::first-line,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.658 PASS document.getElementById('style-container').sheet.cssRules.length is 0659 663 PASS document.querySelector(":matches(:first-child,::first-line,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 660 664 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 683 687 PASS document.querySelector(":matches(:first-child,::after,,)") threw exception Error: SyntaxError: DOM Exception 12. 684 688 PASS document.getElementById('style-container').sheet.cssRules.length is 0 685 PASS document.querySelector(":matches(:first-child,::after,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.686 PASS document.getElementById('style-container').sheet.cssRules.length is 0687 689 PASS document.querySelector(":matches(:first-child,::after,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 688 690 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 711 713 PASS document.querySelector(":matches(:first-child,.class:not(.notclass),,)") threw exception Error: SyntaxError: DOM Exception 12. 712 714 PASS document.getElementById('style-container').sheet.cssRules.length is 0 713 PASS document.querySelector(":matches(:first-child,.class:not(.notclass),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.714 PASS document.getElementById('style-container').sheet.cssRules.length is 0715 715 PASS document.querySelector(":matches(:first-child,.class:not(.notclass),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 716 716 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 739 739 PASS document.querySelector(":matches(:first-child,a > b,,)") threw exception Error: SyntaxError: DOM Exception 12. 740 740 PASS document.getElementById('style-container').sheet.cssRules.length is 0 741 PASS document.querySelector(":matches(:first-child,a > b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.742 PASS document.getElementById('style-container').sheet.cssRules.length is 0743 741 PASS document.querySelector(":matches(:first-child,a > b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 744 742 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 767 765 PASS document.querySelector(":matches(:first-child,a + b,,)") threw exception Error: SyntaxError: DOM Exception 12. 768 766 PASS document.getElementById('style-container').sheet.cssRules.length is 0 769 PASS document.querySelector(":matches(:first-child,a + b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.770 PASS document.getElementById('style-container').sheet.cssRules.length is 0771 767 PASS document.querySelector(":matches(:first-child,a + b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 772 768 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 795 791 PASS document.querySelector(":matches(:first-child,a + b > c ~ d e + g,,)") threw exception Error: SyntaxError: DOM Exception 12. 796 792 PASS document.getElementById('style-container').sheet.cssRules.length is 0 797 PASS document.querySelector(":matches(:first-child,a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.798 PASS document.getElementById('style-container').sheet.cssRules.length is 0799 793 PASS document.querySelector(":matches(:first-child,a + b > c ~ d e + g,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 800 794 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 823 817 PASS document.querySelector(":matches(:first-child,:not(:link),,)") threw exception Error: SyntaxError: DOM Exception 12. 824 818 PASS document.getElementById('style-container').sheet.cssRules.length is 0 825 PASS document.querySelector(":matches(:first-child,:not(:link),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.826 PASS document.getElementById('style-container').sheet.cssRules.length is 0827 819 PASS document.querySelector(":matches(:first-child,:not(:link),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 828 820 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 845 837 PASS document.querySelector(":matches(:first-child,:not(:link),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 846 838 PASS document.getElementById('style-container').sheet.cssRules.length is 0 839 PASS document.querySelector(":matches(:first-child,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 840 PASS document.getElementById('style-container').sheet.cssRules.length is 0 841 PASS document.querySelector(":matches(:first-child,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 842 PASS document.getElementById('style-container').sheet.cssRules.length is 0 843 PASS document.querySelector(":matches(:first-child,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 844 PASS document.getElementById('style-container').sheet.cssRules.length is 0 845 PASS document.querySelector(":matches(:first-child,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 846 PASS document.getElementById('style-container').sheet.cssRules.length is 0 847 PASS document.querySelector(":matches(:first-child,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 848 PASS document.getElementById('style-container').sheet.cssRules.length is 0 849 PASS document.querySelector(":matches(:first-child,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 850 PASS document.getElementById('style-container').sheet.cssRules.length is 0 851 PASS document.querySelector(":matches(:first-child,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 852 PASS document.getElementById('style-container').sheet.cssRules.length is 0 853 PASS document.querySelector(":matches(:first-child,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 854 PASS document.getElementById('style-container').sheet.cssRules.length is 0 855 PASS document.querySelector(":matches(:first-child,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 856 PASS document.getElementById('style-container').sheet.cssRules.length is 0 857 PASS document.querySelector(":matches(:first-child,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 858 PASS document.getElementById('style-container').sheet.cssRules.length is 0 859 PASS document.querySelector(":matches(:first-child,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 860 PASS document.getElementById('style-container').sheet.cssRules.length is 0 861 PASS document.querySelector(":matches(:first-child,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 862 PASS document.getElementById('style-container').sheet.cssRules.length is 0 863 PASS document.querySelector(":matches(:first-child,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 864 PASS document.getElementById('style-container').sheet.cssRules.length is 0 847 865 PASS document.querySelector(":matches(:visited,:visited,)") threw exception Error: SyntaxError: DOM Exception 12. 848 866 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 851 869 PASS document.querySelector(":matches(:visited,:visited,,)") threw exception Error: SyntaxError: DOM Exception 12. 852 870 PASS document.getElementById('style-container').sheet.cssRules.length is 0 853 PASS document.querySelector(":matches(:visited,:visited,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.854 PASS document.getElementById('style-container').sheet.cssRules.length is 0855 871 PASS document.querySelector(":matches(:visited,:visited,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 856 872 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 879 895 PASS document.querySelector(":matches(:visited,::first-line,,)") threw exception Error: SyntaxError: DOM Exception 12. 880 896 PASS document.getElementById('style-container').sheet.cssRules.length is 0 881 PASS document.querySelector(":matches(:visited,::first-line,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.882 PASS document.getElementById('style-container').sheet.cssRules.length is 0883 897 PASS document.querySelector(":matches(:visited,::first-line,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 884 898 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 907 921 PASS document.querySelector(":matches(:visited,::after,,)") threw exception Error: SyntaxError: DOM Exception 12. 908 922 PASS document.getElementById('style-container').sheet.cssRules.length is 0 909 PASS document.querySelector(":matches(:visited,::after,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.910 PASS document.getElementById('style-container').sheet.cssRules.length is 0911 923 PASS document.querySelector(":matches(:visited,::after,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 912 924 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 935 947 PASS document.querySelector(":matches(:visited,.class:not(.notclass),,)") threw exception Error: SyntaxError: DOM Exception 12. 936 948 PASS document.getElementById('style-container').sheet.cssRules.length is 0 937 PASS document.querySelector(":matches(:visited,.class:not(.notclass),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.938 PASS document.getElementById('style-container').sheet.cssRules.length is 0939 949 PASS document.querySelector(":matches(:visited,.class:not(.notclass),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 940 950 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 963 973 PASS document.querySelector(":matches(:visited,a > b,,)") threw exception Error: SyntaxError: DOM Exception 12. 964 974 PASS document.getElementById('style-container').sheet.cssRules.length is 0 965 PASS document.querySelector(":matches(:visited,a > b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.966 PASS document.getElementById('style-container').sheet.cssRules.length is 0967 975 PASS document.querySelector(":matches(:visited,a > b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 968 976 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 991 999 PASS document.querySelector(":matches(:visited,a + b,,)") threw exception Error: SyntaxError: DOM Exception 12. 992 1000 PASS document.getElementById('style-container').sheet.cssRules.length is 0 993 PASS document.querySelector(":matches(:visited,a + b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.994 PASS document.getElementById('style-container').sheet.cssRules.length is 0995 1001 PASS document.querySelector(":matches(:visited,a + b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 996 1002 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1019 1025 PASS document.querySelector(":matches(:visited,a + b > c ~ d e + g,,)") threw exception Error: SyntaxError: DOM Exception 12. 1020 1026 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1021 PASS document.querySelector(":matches(:visited,a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1022 PASS document.getElementById('style-container').sheet.cssRules.length is 01023 1027 PASS document.querySelector(":matches(:visited,a + b > c ~ d e + g,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1024 1028 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1047 1051 PASS document.querySelector(":matches(:visited,:not(:link),,)") threw exception Error: SyntaxError: DOM Exception 12. 1048 1052 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1049 PASS document.querySelector(":matches(:visited,:not(:link),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1050 PASS document.getElementById('style-container').sheet.cssRules.length is 01051 1053 PASS document.querySelector(":matches(:visited,:not(:link),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1052 1054 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1069 1071 PASS document.querySelector(":matches(:visited,:not(:link),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1070 1072 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1073 PASS document.querySelector(":matches(:visited,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1074 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1075 PASS document.querySelector(":matches(:visited,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1076 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1077 PASS document.querySelector(":matches(:visited,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1078 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1079 PASS document.querySelector(":matches(:visited,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1080 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1081 PASS document.querySelector(":matches(:visited,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1082 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1083 PASS document.querySelector(":matches(:visited,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1084 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1085 PASS document.querySelector(":matches(:visited,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1086 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1087 PASS document.querySelector(":matches(:visited,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1088 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1089 PASS document.querySelector(":matches(:visited,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 1090 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1091 PASS document.querySelector(":matches(:visited,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 1092 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1093 PASS document.querySelector(":matches(:visited,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 1094 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1095 PASS document.querySelector(":matches(:visited,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 1096 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1097 PASS document.querySelector(":matches(:visited,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1098 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1071 1099 PASS document.querySelector(":matches(::first-line,::first-line,)") threw exception Error: SyntaxError: DOM Exception 12. 1072 1100 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1075 1103 PASS document.querySelector(":matches(::first-line,::first-line,,)") threw exception Error: SyntaxError: DOM Exception 12. 1076 1104 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1077 PASS document.querySelector(":matches(::first-line,::first-line,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1078 PASS document.getElementById('style-container').sheet.cssRules.length is 01079 1105 PASS document.querySelector(":matches(::first-line,::first-line,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1080 1106 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1103 1129 PASS document.querySelector(":matches(::first-line,::after,,)") threw exception Error: SyntaxError: DOM Exception 12. 1104 1130 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1105 PASS document.querySelector(":matches(::first-line,::after,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1106 PASS document.getElementById('style-container').sheet.cssRules.length is 01107 1131 PASS document.querySelector(":matches(::first-line,::after,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1108 1132 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1131 1155 PASS document.querySelector(":matches(::first-line,.class:not(.notclass),,)") threw exception Error: SyntaxError: DOM Exception 12. 1132 1156 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1133 PASS document.querySelector(":matches(::first-line,.class:not(.notclass),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1134 PASS document.getElementById('style-container').sheet.cssRules.length is 01135 1157 PASS document.querySelector(":matches(::first-line,.class:not(.notclass),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1136 1158 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1159 1181 PASS document.querySelector(":matches(::first-line,a > b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1160 1182 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1161 PASS document.querySelector(":matches(::first-line,a > b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1162 PASS document.getElementById('style-container').sheet.cssRules.length is 01163 1183 PASS document.querySelector(":matches(::first-line,a > b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1164 1184 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1187 1207 PASS document.querySelector(":matches(::first-line,a + b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1188 1208 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1189 PASS document.querySelector(":matches(::first-line,a + b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1190 PASS document.getElementById('style-container').sheet.cssRules.length is 01191 1209 PASS document.querySelector(":matches(::first-line,a + b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1192 1210 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1215 1233 PASS document.querySelector(":matches(::first-line,a + b > c ~ d e + g,,)") threw exception Error: SyntaxError: DOM Exception 12. 1216 1234 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1217 PASS document.querySelector(":matches(::first-line,a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1218 PASS document.getElementById('style-container').sheet.cssRules.length is 01219 1235 PASS document.querySelector(":matches(::first-line,a + b > c ~ d e + g,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1220 1236 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1243 1259 PASS document.querySelector(":matches(::first-line,:not(:link),,)") threw exception Error: SyntaxError: DOM Exception 12. 1244 1260 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1245 PASS document.querySelector(":matches(::first-line,:not(:link),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1246 PASS document.getElementById('style-container').sheet.cssRules.length is 01247 1261 PASS document.querySelector(":matches(::first-line,:not(:link),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1248 1262 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1265 1279 PASS document.querySelector(":matches(::first-line,:not(:link),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1266 1280 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1281 PASS document.querySelector(":matches(::first-line,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1282 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1283 PASS document.querySelector(":matches(::first-line,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1284 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1285 PASS document.querySelector(":matches(::first-line,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1286 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1287 PASS document.querySelector(":matches(::first-line,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1288 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1289 PASS document.querySelector(":matches(::first-line,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1290 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1291 PASS document.querySelector(":matches(::first-line,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1292 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1293 PASS document.querySelector(":matches(::first-line,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1294 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1295 PASS document.querySelector(":matches(::first-line,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1296 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1297 PASS document.querySelector(":matches(::first-line,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 1298 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1299 PASS document.querySelector(":matches(::first-line,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 1300 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1301 PASS document.querySelector(":matches(::first-line,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 1302 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1303 PASS document.querySelector(":matches(::first-line,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 1304 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1305 PASS document.querySelector(":matches(::first-line,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1306 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1267 1307 PASS document.querySelector(":matches(::after,::after,)") threw exception Error: SyntaxError: DOM Exception 12. 1268 1308 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1271 1311 PASS document.querySelector(":matches(::after,::after,,)") threw exception Error: SyntaxError: DOM Exception 12. 1272 1312 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1273 PASS document.querySelector(":matches(::after,::after,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1274 PASS document.getElementById('style-container').sheet.cssRules.length is 01275 1313 PASS document.querySelector(":matches(::after,::after,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1276 1314 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1299 1337 PASS document.querySelector(":matches(::after,.class:not(.notclass),,)") threw exception Error: SyntaxError: DOM Exception 12. 1300 1338 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1301 PASS document.querySelector(":matches(::after,.class:not(.notclass),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1302 PASS document.getElementById('style-container').sheet.cssRules.length is 01303 1339 PASS document.querySelector(":matches(::after,.class:not(.notclass),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1304 1340 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1327 1363 PASS document.querySelector(":matches(::after,a > b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1328 1364 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1329 PASS document.querySelector(":matches(::after,a > b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1330 PASS document.getElementById('style-container').sheet.cssRules.length is 01331 1365 PASS document.querySelector(":matches(::after,a > b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1332 1366 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1355 1389 PASS document.querySelector(":matches(::after,a + b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1356 1390 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1357 PASS document.querySelector(":matches(::after,a + b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1358 PASS document.getElementById('style-container').sheet.cssRules.length is 01359 1391 PASS document.querySelector(":matches(::after,a + b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1360 1392 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1383 1415 PASS document.querySelector(":matches(::after,a + b > c ~ d e + g,,)") threw exception Error: SyntaxError: DOM Exception 12. 1384 1416 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1385 PASS document.querySelector(":matches(::after,a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1386 PASS document.getElementById('style-container').sheet.cssRules.length is 01387 1417 PASS document.querySelector(":matches(::after,a + b > c ~ d e + g,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1388 1418 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1411 1441 PASS document.querySelector(":matches(::after,:not(:link),,)") threw exception Error: SyntaxError: DOM Exception 12. 1412 1442 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1413 PASS document.querySelector(":matches(::after,:not(:link),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1414 PASS document.getElementById('style-container').sheet.cssRules.length is 01415 1443 PASS document.querySelector(":matches(::after,:not(:link),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1416 1444 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1433 1461 PASS document.querySelector(":matches(::after,:not(:link),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1434 1462 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1463 PASS document.querySelector(":matches(::after,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1464 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1465 PASS document.querySelector(":matches(::after,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1466 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1467 PASS document.querySelector(":matches(::after,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1468 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1469 PASS document.querySelector(":matches(::after,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1470 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1471 PASS document.querySelector(":matches(::after,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1472 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1473 PASS document.querySelector(":matches(::after,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1474 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1475 PASS document.querySelector(":matches(::after,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1476 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1477 PASS document.querySelector(":matches(::after,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1478 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1479 PASS document.querySelector(":matches(::after,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 1480 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1481 PASS document.querySelector(":matches(::after,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 1482 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1483 PASS document.querySelector(":matches(::after,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 1484 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1485 PASS document.querySelector(":matches(::after,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 1486 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1487 PASS document.querySelector(":matches(::after,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1488 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1435 1489 PASS document.querySelector(":matches(.class:not(.notclass),.class:not(.notclass),)") threw exception Error: SyntaxError: DOM Exception 12. 1436 1490 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1439 1493 PASS document.querySelector(":matches(.class:not(.notclass),.class:not(.notclass),,)") threw exception Error: SyntaxError: DOM Exception 12. 1440 1494 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1441 PASS document.querySelector(":matches(.class:not(.notclass),.class:not(.notclass),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1442 PASS document.getElementById('style-container').sheet.cssRules.length is 01443 1495 PASS document.querySelector(":matches(.class:not(.notclass),.class:not(.notclass),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1444 1496 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1467 1519 PASS document.querySelector(":matches(.class:not(.notclass),a > b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1468 1520 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1469 PASS document.querySelector(":matches(.class:not(.notclass),a > b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1470 PASS document.getElementById('style-container').sheet.cssRules.length is 01471 1521 PASS document.querySelector(":matches(.class:not(.notclass),a > b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1472 1522 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1495 1545 PASS document.querySelector(":matches(.class:not(.notclass),a + b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1496 1546 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1497 PASS document.querySelector(":matches(.class:not(.notclass),a + b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1498 PASS document.getElementById('style-container').sheet.cssRules.length is 01499 1547 PASS document.querySelector(":matches(.class:not(.notclass),a + b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1500 1548 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1523 1571 PASS document.querySelector(":matches(.class:not(.notclass),a + b > c ~ d e + g,,)") threw exception Error: SyntaxError: DOM Exception 12. 1524 1572 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1525 PASS document.querySelector(":matches(.class:not(.notclass),a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1526 PASS document.getElementById('style-container').sheet.cssRules.length is 01527 1573 PASS document.querySelector(":matches(.class:not(.notclass),a + b > c ~ d e + g,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1528 1574 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1551 1597 PASS document.querySelector(":matches(.class:not(.notclass),:not(:link),,)") threw exception Error: SyntaxError: DOM Exception 12. 1552 1598 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1553 PASS document.querySelector(":matches(.class:not(.notclass),:not(:link),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1554 PASS document.getElementById('style-container').sheet.cssRules.length is 01555 1599 PASS document.querySelector(":matches(.class:not(.notclass),:not(:link),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1556 1600 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1573 1617 PASS document.querySelector(":matches(.class:not(.notclass),:not(:link),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1574 1618 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1619 PASS document.querySelector(":matches(.class:not(.notclass),:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1620 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1621 PASS document.querySelector(":matches(.class:not(.notclass),:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1622 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1623 PASS document.querySelector(":matches(.class:not(.notclass),:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1624 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1625 PASS document.querySelector(":matches(.class:not(.notclass),:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1626 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1627 PASS document.querySelector(":matches(.class:not(.notclass),:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1628 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1629 PASS document.querySelector(":matches(.class:not(.notclass),:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1630 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1631 PASS document.querySelector(":matches(.class:not(.notclass),:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1632 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1633 PASS document.querySelector(":matches(.class:not(.notclass),:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1634 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1635 PASS document.querySelector(":matches(.class:not(.notclass),:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 1636 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1637 PASS document.querySelector(":matches(.class:not(.notclass),:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 1638 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1639 PASS document.querySelector(":matches(.class:not(.notclass),:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 1640 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1641 PASS document.querySelector(":matches(.class:not(.notclass),:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 1642 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1643 PASS document.querySelector(":matches(.class:not(.notclass),:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1644 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1575 1645 PASS document.querySelector(":matches(a > b,a > b,)") threw exception Error: SyntaxError: DOM Exception 12. 1576 1646 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1579 1649 PASS document.querySelector(":matches(a > b,a > b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1580 1650 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1581 PASS document.querySelector(":matches(a > b,a > b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1582 PASS document.getElementById('style-container').sheet.cssRules.length is 01583 1651 PASS document.querySelector(":matches(a > b,a > b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1584 1652 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1607 1675 PASS document.querySelector(":matches(a > b,a + b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1608 1676 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1609 PASS document.querySelector(":matches(a > b,a + b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1610 PASS document.getElementById('style-container').sheet.cssRules.length is 01611 1677 PASS document.querySelector(":matches(a > b,a + b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1612 1678 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1635 1701 PASS document.querySelector(":matches(a > b,a + b > c ~ d e + g,,)") threw exception Error: SyntaxError: DOM Exception 12. 1636 1702 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1637 PASS document.querySelector(":matches(a > b,a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1638 PASS document.getElementById('style-container').sheet.cssRules.length is 01639 1703 PASS document.querySelector(":matches(a > b,a + b > c ~ d e + g,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1640 1704 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1663 1727 PASS document.querySelector(":matches(a > b,:not(:link),,)") threw exception Error: SyntaxError: DOM Exception 12. 1664 1728 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1665 PASS document.querySelector(":matches(a > b,:not(:link),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1666 PASS document.getElementById('style-container').sheet.cssRules.length is 01667 1729 PASS document.querySelector(":matches(a > b,:not(:link),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1668 1730 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1685 1747 PASS document.querySelector(":matches(a > b,:not(:link),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1686 1748 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1749 PASS document.querySelector(":matches(a > b,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1750 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1751 PASS document.querySelector(":matches(a > b,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1752 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1753 PASS document.querySelector(":matches(a > b,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1754 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1755 PASS document.querySelector(":matches(a > b,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1756 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1757 PASS document.querySelector(":matches(a > b,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1758 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1759 PASS document.querySelector(":matches(a > b,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1760 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1761 PASS document.querySelector(":matches(a > b,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1762 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1763 PASS document.querySelector(":matches(a > b,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1764 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1765 PASS document.querySelector(":matches(a > b,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 1766 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1767 PASS document.querySelector(":matches(a > b,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 1768 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1769 PASS document.querySelector(":matches(a > b,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 1770 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1771 PASS document.querySelector(":matches(a > b,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 1772 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1773 PASS document.querySelector(":matches(a > b,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1774 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1687 1775 PASS document.querySelector(":matches(a + b,a + b,)") threw exception Error: SyntaxError: DOM Exception 12. 1688 1776 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1691 1779 PASS document.querySelector(":matches(a + b,a + b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1692 1780 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1693 PASS document.querySelector(":matches(a + b,a + b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1694 PASS document.getElementById('style-container').sheet.cssRules.length is 01695 1781 PASS document.querySelector(":matches(a + b,a + b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1696 1782 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1719 1805 PASS document.querySelector(":matches(a + b,a + b > c ~ d e + g,,)") threw exception Error: SyntaxError: DOM Exception 12. 1720 1806 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1721 PASS document.querySelector(":matches(a + b,a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1722 PASS document.getElementById('style-container').sheet.cssRules.length is 01723 1807 PASS document.querySelector(":matches(a + b,a + b > c ~ d e + g,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1724 1808 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1747 1831 PASS document.querySelector(":matches(a + b,:not(:link),,)") threw exception Error: SyntaxError: DOM Exception 12. 1748 1832 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1749 PASS document.querySelector(":matches(a + b,:not(:link),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1750 PASS document.getElementById('style-container').sheet.cssRules.length is 01751 1833 PASS document.querySelector(":matches(a + b,:not(:link),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1752 1834 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1769 1851 PASS document.querySelector(":matches(a + b,:not(:link),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1770 1852 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1853 PASS document.querySelector(":matches(a + b,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1854 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1855 PASS document.querySelector(":matches(a + b,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1856 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1857 PASS document.querySelector(":matches(a + b,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1858 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1859 PASS document.querySelector(":matches(a + b,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1860 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1861 PASS document.querySelector(":matches(a + b,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1862 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1863 PASS document.querySelector(":matches(a + b,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1864 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1865 PASS document.querySelector(":matches(a + b,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1866 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1867 PASS document.querySelector(":matches(a + b,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1868 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1869 PASS document.querySelector(":matches(a + b,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 1870 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1871 PASS document.querySelector(":matches(a + b,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 1872 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1873 PASS document.querySelector(":matches(a + b,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 1874 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1875 PASS document.querySelector(":matches(a + b,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 1876 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1877 PASS document.querySelector(":matches(a + b,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1878 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1771 1879 PASS document.querySelector(":matches(a + b > c ~ d e + g,a + b > c ~ d e + g,)") threw exception Error: SyntaxError: DOM Exception 12. 1772 1880 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1775 1883 PASS document.querySelector(":matches(a + b > c ~ d e + g,a + b > c ~ d e + g,,)") threw exception Error: SyntaxError: DOM Exception 12. 1776 1884 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1777 PASS document.querySelector(":matches(a + b > c ~ d e + g,a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1778 PASS document.getElementById('style-container').sheet.cssRules.length is 01779 1885 PASS document.querySelector(":matches(a + b > c ~ d e + g,a + b > c ~ d e + g,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1780 1886 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1803 1909 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:link),,)") threw exception Error: SyntaxError: DOM Exception 12. 1804 1910 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1805 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:link),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1806 PASS document.getElementById('style-container').sheet.cssRules.length is 01807 1911 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:link),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1808 1912 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1825 1929 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:link),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1826 1930 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1931 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1932 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1933 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1934 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1935 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1936 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1937 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1938 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1939 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1940 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1941 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1942 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1943 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1944 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1945 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1946 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1947 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 1948 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1949 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 1950 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1951 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 1952 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1953 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 1954 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1955 PASS document.querySelector(":matches(a + b > c ~ d e + g,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1956 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1827 1957 PASS document.querySelector(":matches(:not(:link),:not(:link),)") threw exception Error: SyntaxError: DOM Exception 12. 1828 1958 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1831 1961 PASS document.querySelector(":matches(:not(:link),:not(:link),,)") threw exception Error: SyntaxError: DOM Exception 12. 1832 1962 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1833 PASS document.querySelector(":matches(:not(:link),:not(:link),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1834 PASS document.getElementById('style-container').sheet.cssRules.length is 01835 1963 PASS document.querySelector(":matches(:not(:link),:not(:link),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1836 1964 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1852 1980 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1853 1981 PASS document.querySelector(":matches(:not(:link),:not(:link),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1982 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1983 PASS document.querySelector(":matches(:not(:link),:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1984 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1985 PASS document.querySelector(":matches(:not(:link),:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1986 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1987 PASS document.querySelector(":matches(:not(:link),:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1988 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1989 PASS document.querySelector(":matches(:not(:link),:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1990 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1991 PASS document.querySelector(":matches(:not(:link),:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1992 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1993 PASS document.querySelector(":matches(:not(:link),:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1994 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1995 PASS document.querySelector(":matches(:not(:link),:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1996 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1997 PASS document.querySelector(":matches(:not(:link),:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1998 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1999 PASS document.querySelector(":matches(:not(:link),:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 2000 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2001 PASS document.querySelector(":matches(:not(:link),:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 2002 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2003 PASS document.querySelector(":matches(:not(:link),:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 2004 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2005 PASS document.querySelector(":matches(:not(:link),:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 2006 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2007 PASS document.querySelector(":matches(:not(:link),:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 2008 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2009 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 2010 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2011 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 2012 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2013 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 2014 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2015 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 2016 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2017 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 2018 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2019 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 2020 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2021 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 2022 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2023 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 2024 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2025 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 2026 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2027 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 2028 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2029 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 2030 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2031 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 2032 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2033 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1854 2034 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1855 2035 PASS successfullyParsed is true -
trunk/LayoutTests/fast/css/parsing-css-matches-7.html
r174259 r174535 41 41 // Functional pseudo classes. 42 42 ":not(:link)", 43 ":not(:matches(cocoa, cappuccino))", 43 44 ]; 44 45 … … 48 49 " ", 49 50 ",", 50 51 // Currently not allows functional pseudo classes inside :not.52 ":not(:matches(cocoa, cappuccino))",53 51 54 52 ".123class", -
trunk/LayoutTests/fast/css/parsing-css-matches-8-expected.txt
r174259 r174535 11 11 PASS document.querySelector(":matches(foobar,foobar,,)") threw exception Error: SyntaxError: DOM Exception 12. 12 12 PASS document.getElementById('style-container').sheet.cssRules.length is 0 13 PASS document.querySelector(":matches(foobar,foobar,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.14 PASS document.getElementById('style-container').sheet.cssRules.length is 015 13 PASS document.querySelector(":matches(foobar,foobar,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 16 14 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 39 37 PASS document.querySelector(":matches(foobar,.class,,)") threw exception Error: SyntaxError: DOM Exception 12. 40 38 PASS document.getElementById('style-container').sheet.cssRules.length is 0 41 PASS document.querySelector(":matches(foobar,.class,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.42 PASS document.getElementById('style-container').sheet.cssRules.length is 043 39 PASS document.querySelector(":matches(foobar,.class,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 44 40 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 67 63 PASS document.querySelector(":matches(foobar,:last-child,,)") threw exception Error: SyntaxError: DOM Exception 12. 68 64 PASS document.getElementById('style-container').sheet.cssRules.length is 0 69 PASS document.querySelector(":matches(foobar,:last-child,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.70 PASS document.getElementById('style-container').sheet.cssRules.length is 071 65 PASS document.querySelector(":matches(foobar,:last-child,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 72 66 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 95 89 PASS document.querySelector(":matches(foobar,::first-letter,,)") threw exception Error: SyntaxError: DOM Exception 12. 96 90 PASS document.getElementById('style-container').sheet.cssRules.length is 0 97 PASS document.querySelector(":matches(foobar,::first-letter,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.98 PASS document.getElementById('style-container').sheet.cssRules.length is 099 91 PASS document.querySelector(":matches(foobar,::first-letter,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 100 92 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 123 115 PASS document.querySelector(":matches(foobar,::before,,)") threw exception Error: SyntaxError: DOM Exception 12. 124 116 PASS document.getElementById('style-container').sheet.cssRules.length is 0 125 PASS document.querySelector(":matches(foobar,::before,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.126 PASS document.getElementById('style-container').sheet.cssRules.length is 0127 117 PASS document.querySelector(":matches(foobar,::before,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 128 118 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 151 141 PASS document.querySelector(":matches(foobar,foobar#id.class,,)") threw exception Error: SyntaxError: DOM Exception 12. 152 142 PASS document.getElementById('style-container').sheet.cssRules.length is 0 153 PASS document.querySelector(":matches(foobar,foobar#id.class,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.154 PASS document.getElementById('style-container').sheet.cssRules.length is 0155 143 PASS document.querySelector(":matches(foobar,foobar#id.class,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 156 144 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 179 167 PASS document.querySelector(":matches(foobar,#id:empty,,)") threw exception Error: SyntaxError: DOM Exception 12. 180 168 PASS document.getElementById('style-container').sheet.cssRules.length is 0 181 PASS document.querySelector(":matches(foobar,#id:empty,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.182 PASS document.getElementById('style-container').sheet.cssRules.length is 0183 169 PASS document.querySelector(":matches(foobar,#id:empty,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 184 170 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 207 193 PASS document.querySelector(":matches(foobar,a b,,)") threw exception Error: SyntaxError: DOM Exception 12. 208 194 PASS document.getElementById('style-container').sheet.cssRules.length is 0 209 PASS document.querySelector(":matches(foobar,a b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.210 PASS document.getElementById('style-container').sheet.cssRules.length is 0211 195 PASS document.querySelector(":matches(foobar,a b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 212 196 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 235 219 PASS document.querySelector(":matches(foobar,a ~ b,,)") threw exception Error: SyntaxError: DOM Exception 12. 236 220 PASS document.getElementById('style-container').sheet.cssRules.length is 0 237 PASS document.querySelector(":matches(foobar,a ~ b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.238 PASS document.getElementById('style-container').sheet.cssRules.length is 0239 221 PASS document.querySelector(":matches(foobar,a ~ b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 240 222 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 263 245 PASS document.querySelector(":matches(foobar,:-webkit-any(.selector,#tama,#hanayo,#midoriko),,)") threw exception Error: SyntaxError: DOM Exception 12. 264 246 PASS document.getElementById('style-container').sheet.cssRules.length is 0 265 PASS document.querySelector(":matches(foobar,:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.266 PASS document.getElementById('style-container').sheet.cssRules.length is 0267 247 PASS document.querySelector(":matches(foobar,:-webkit-any(.selector,#tama,#hanayo,#midoriko),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 268 248 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 291 271 PASS document.querySelector(":matches(foobar,:nth-child(even of a, b, c),,)") threw exception Error: SyntaxError: DOM Exception 12. 292 272 PASS document.getElementById('style-container').sheet.cssRules.length is 0 293 PASS document.querySelector(":matches(foobar,:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.294 PASS document.getElementById('style-container').sheet.cssRules.length is 0295 273 PASS document.querySelector(":matches(foobar,:nth-child(even of a, b, c),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 296 274 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 313 291 PASS document.querySelector(":matches(foobar,:nth-child(even of a, b, c),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 314 292 PASS document.getElementById('style-container').sheet.cssRules.length is 0 293 PASS document.querySelector(":matches(foobar,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 294 PASS document.getElementById('style-container').sheet.cssRules.length is 0 295 PASS document.querySelector(":matches(foobar,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 296 PASS document.getElementById('style-container').sheet.cssRules.length is 0 297 PASS document.querySelector(":matches(foobar,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 298 PASS document.getElementById('style-container').sheet.cssRules.length is 0 299 PASS document.querySelector(":matches(foobar,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 300 PASS document.getElementById('style-container').sheet.cssRules.length is 0 301 PASS document.querySelector(":matches(foobar,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 302 PASS document.getElementById('style-container').sheet.cssRules.length is 0 303 PASS document.querySelector(":matches(foobar,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 304 PASS document.getElementById('style-container').sheet.cssRules.length is 0 305 PASS document.querySelector(":matches(foobar,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 306 PASS document.getElementById('style-container').sheet.cssRules.length is 0 307 PASS document.querySelector(":matches(foobar,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 308 PASS document.getElementById('style-container').sheet.cssRules.length is 0 309 PASS document.querySelector(":matches(foobar,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 310 PASS document.getElementById('style-container').sheet.cssRules.length is 0 311 PASS document.querySelector(":matches(foobar,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 312 PASS document.getElementById('style-container').sheet.cssRules.length is 0 313 PASS document.querySelector(":matches(foobar,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 314 PASS document.getElementById('style-container').sheet.cssRules.length is 0 315 PASS document.querySelector(":matches(foobar,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 316 PASS document.getElementById('style-container').sheet.cssRules.length is 0 317 PASS document.querySelector(":matches(foobar,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 318 PASS document.getElementById('style-container').sheet.cssRules.length is 0 315 319 PASS document.querySelector(":matches(.class,.class,)") threw exception Error: SyntaxError: DOM Exception 12. 316 320 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 319 323 PASS document.querySelector(":matches(.class,.class,,)") threw exception Error: SyntaxError: DOM Exception 12. 320 324 PASS document.getElementById('style-container').sheet.cssRules.length is 0 321 PASS document.querySelector(":matches(.class,.class,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.322 PASS document.getElementById('style-container').sheet.cssRules.length is 0323 325 PASS document.querySelector(":matches(.class,.class,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 324 326 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 347 349 PASS document.querySelector(":matches(.class,:last-child,,)") threw exception Error: SyntaxError: DOM Exception 12. 348 350 PASS document.getElementById('style-container').sheet.cssRules.length is 0 349 PASS document.querySelector(":matches(.class,:last-child,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.350 PASS document.getElementById('style-container').sheet.cssRules.length is 0351 351 PASS document.querySelector(":matches(.class,:last-child,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 352 352 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 375 375 PASS document.querySelector(":matches(.class,::first-letter,,)") threw exception Error: SyntaxError: DOM Exception 12. 376 376 PASS document.getElementById('style-container').sheet.cssRules.length is 0 377 PASS document.querySelector(":matches(.class,::first-letter,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.378 PASS document.getElementById('style-container').sheet.cssRules.length is 0379 377 PASS document.querySelector(":matches(.class,::first-letter,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 380 378 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 403 401 PASS document.querySelector(":matches(.class,::before,,)") threw exception Error: SyntaxError: DOM Exception 12. 404 402 PASS document.getElementById('style-container').sheet.cssRules.length is 0 405 PASS document.querySelector(":matches(.class,::before,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.406 PASS document.getElementById('style-container').sheet.cssRules.length is 0407 403 PASS document.querySelector(":matches(.class,::before,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 408 404 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 431 427 PASS document.querySelector(":matches(.class,foobar#id.class,,)") threw exception Error: SyntaxError: DOM Exception 12. 432 428 PASS document.getElementById('style-container').sheet.cssRules.length is 0 433 PASS document.querySelector(":matches(.class,foobar#id.class,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.434 PASS document.getElementById('style-container').sheet.cssRules.length is 0435 429 PASS document.querySelector(":matches(.class,foobar#id.class,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 436 430 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 459 453 PASS document.querySelector(":matches(.class,#id:empty,,)") threw exception Error: SyntaxError: DOM Exception 12. 460 454 PASS document.getElementById('style-container').sheet.cssRules.length is 0 461 PASS document.querySelector(":matches(.class,#id:empty,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.462 PASS document.getElementById('style-container').sheet.cssRules.length is 0463 455 PASS document.querySelector(":matches(.class,#id:empty,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 464 456 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 487 479 PASS document.querySelector(":matches(.class,a b,,)") threw exception Error: SyntaxError: DOM Exception 12. 488 480 PASS document.getElementById('style-container').sheet.cssRules.length is 0 489 PASS document.querySelector(":matches(.class,a b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.490 PASS document.getElementById('style-container').sheet.cssRules.length is 0491 481 PASS document.querySelector(":matches(.class,a b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 492 482 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 515 505 PASS document.querySelector(":matches(.class,a ~ b,,)") threw exception Error: SyntaxError: DOM Exception 12. 516 506 PASS document.getElementById('style-container').sheet.cssRules.length is 0 517 PASS document.querySelector(":matches(.class,a ~ b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.518 PASS document.getElementById('style-container').sheet.cssRules.length is 0519 507 PASS document.querySelector(":matches(.class,a ~ b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 520 508 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 543 531 PASS document.querySelector(":matches(.class,:-webkit-any(.selector,#tama,#hanayo,#midoriko),,)") threw exception Error: SyntaxError: DOM Exception 12. 544 532 PASS document.getElementById('style-container').sheet.cssRules.length is 0 545 PASS document.querySelector(":matches(.class,:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.546 PASS document.getElementById('style-container').sheet.cssRules.length is 0547 533 PASS document.querySelector(":matches(.class,:-webkit-any(.selector,#tama,#hanayo,#midoriko),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 548 534 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 571 557 PASS document.querySelector(":matches(.class,:nth-child(even of a, b, c),,)") threw exception Error: SyntaxError: DOM Exception 12. 572 558 PASS document.getElementById('style-container').sheet.cssRules.length is 0 573 PASS document.querySelector(":matches(.class,:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.574 PASS document.getElementById('style-container').sheet.cssRules.length is 0575 559 PASS document.querySelector(":matches(.class,:nth-child(even of a, b, c),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 576 560 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 593 577 PASS document.querySelector(":matches(.class,:nth-child(even of a, b, c),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 594 578 PASS document.getElementById('style-container').sheet.cssRules.length is 0 579 PASS document.querySelector(":matches(.class,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 580 PASS document.getElementById('style-container').sheet.cssRules.length is 0 581 PASS document.querySelector(":matches(.class,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 582 PASS document.getElementById('style-container').sheet.cssRules.length is 0 583 PASS document.querySelector(":matches(.class,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 584 PASS document.getElementById('style-container').sheet.cssRules.length is 0 585 PASS document.querySelector(":matches(.class,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 586 PASS document.getElementById('style-container').sheet.cssRules.length is 0 587 PASS document.querySelector(":matches(.class,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 588 PASS document.getElementById('style-container').sheet.cssRules.length is 0 589 PASS document.querySelector(":matches(.class,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 590 PASS document.getElementById('style-container').sheet.cssRules.length is 0 591 PASS document.querySelector(":matches(.class,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 592 PASS document.getElementById('style-container').sheet.cssRules.length is 0 593 PASS document.querySelector(":matches(.class,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 594 PASS document.getElementById('style-container').sheet.cssRules.length is 0 595 PASS document.querySelector(":matches(.class,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 596 PASS document.getElementById('style-container').sheet.cssRules.length is 0 597 PASS document.querySelector(":matches(.class,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 598 PASS document.getElementById('style-container').sheet.cssRules.length is 0 599 PASS document.querySelector(":matches(.class,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 600 PASS document.getElementById('style-container').sheet.cssRules.length is 0 601 PASS document.querySelector(":matches(.class,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 602 PASS document.getElementById('style-container').sheet.cssRules.length is 0 603 PASS document.querySelector(":matches(.class,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 604 PASS document.getElementById('style-container').sheet.cssRules.length is 0 595 605 PASS document.querySelector(":matches(:last-child,:last-child,)") threw exception Error: SyntaxError: DOM Exception 12. 596 606 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 599 609 PASS document.querySelector(":matches(:last-child,:last-child,,)") threw exception Error: SyntaxError: DOM Exception 12. 600 610 PASS document.getElementById('style-container').sheet.cssRules.length is 0 601 PASS document.querySelector(":matches(:last-child,:last-child,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.602 PASS document.getElementById('style-container').sheet.cssRules.length is 0603 611 PASS document.querySelector(":matches(:last-child,:last-child,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 604 612 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 627 635 PASS document.querySelector(":matches(:last-child,::first-letter,,)") threw exception Error: SyntaxError: DOM Exception 12. 628 636 PASS document.getElementById('style-container').sheet.cssRules.length is 0 629 PASS document.querySelector(":matches(:last-child,::first-letter,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.630 PASS document.getElementById('style-container').sheet.cssRules.length is 0631 637 PASS document.querySelector(":matches(:last-child,::first-letter,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 632 638 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 655 661 PASS document.querySelector(":matches(:last-child,::before,,)") threw exception Error: SyntaxError: DOM Exception 12. 656 662 PASS document.getElementById('style-container').sheet.cssRules.length is 0 657 PASS document.querySelector(":matches(:last-child,::before,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.658 PASS document.getElementById('style-container').sheet.cssRules.length is 0659 663 PASS document.querySelector(":matches(:last-child,::before,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 660 664 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 683 687 PASS document.querySelector(":matches(:last-child,foobar#id.class,,)") threw exception Error: SyntaxError: DOM Exception 12. 684 688 PASS document.getElementById('style-container').sheet.cssRules.length is 0 685 PASS document.querySelector(":matches(:last-child,foobar#id.class,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.686 PASS document.getElementById('style-container').sheet.cssRules.length is 0687 689 PASS document.querySelector(":matches(:last-child,foobar#id.class,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 688 690 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 711 713 PASS document.querySelector(":matches(:last-child,#id:empty,,)") threw exception Error: SyntaxError: DOM Exception 12. 712 714 PASS document.getElementById('style-container').sheet.cssRules.length is 0 713 PASS document.querySelector(":matches(:last-child,#id:empty,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.714 PASS document.getElementById('style-container').sheet.cssRules.length is 0715 715 PASS document.querySelector(":matches(:last-child,#id:empty,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 716 716 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 739 739 PASS document.querySelector(":matches(:last-child,a b,,)") threw exception Error: SyntaxError: DOM Exception 12. 740 740 PASS document.getElementById('style-container').sheet.cssRules.length is 0 741 PASS document.querySelector(":matches(:last-child,a b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.742 PASS document.getElementById('style-container').sheet.cssRules.length is 0743 741 PASS document.querySelector(":matches(:last-child,a b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 744 742 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 767 765 PASS document.querySelector(":matches(:last-child,a ~ b,,)") threw exception Error: SyntaxError: DOM Exception 12. 768 766 PASS document.getElementById('style-container').sheet.cssRules.length is 0 769 PASS document.querySelector(":matches(:last-child,a ~ b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.770 PASS document.getElementById('style-container').sheet.cssRules.length is 0771 767 PASS document.querySelector(":matches(:last-child,a ~ b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 772 768 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 795 791 PASS document.querySelector(":matches(:last-child,:-webkit-any(.selector,#tama,#hanayo,#midoriko),,)") threw exception Error: SyntaxError: DOM Exception 12. 796 792 PASS document.getElementById('style-container').sheet.cssRules.length is 0 797 PASS document.querySelector(":matches(:last-child,:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.798 PASS document.getElementById('style-container').sheet.cssRules.length is 0799 793 PASS document.querySelector(":matches(:last-child,:-webkit-any(.selector,#tama,#hanayo,#midoriko),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 800 794 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 823 817 PASS document.querySelector(":matches(:last-child,:nth-child(even of a, b, c),,)") threw exception Error: SyntaxError: DOM Exception 12. 824 818 PASS document.getElementById('style-container').sheet.cssRules.length is 0 825 PASS document.querySelector(":matches(:last-child,:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.826 PASS document.getElementById('style-container').sheet.cssRules.length is 0827 819 PASS document.querySelector(":matches(:last-child,:nth-child(even of a, b, c),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 828 820 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 845 837 PASS document.querySelector(":matches(:last-child,:nth-child(even of a, b, c),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 846 838 PASS document.getElementById('style-container').sheet.cssRules.length is 0 839 PASS document.querySelector(":matches(:last-child,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 840 PASS document.getElementById('style-container').sheet.cssRules.length is 0 841 PASS document.querySelector(":matches(:last-child,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 842 PASS document.getElementById('style-container').sheet.cssRules.length is 0 843 PASS document.querySelector(":matches(:last-child,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 844 PASS document.getElementById('style-container').sheet.cssRules.length is 0 845 PASS document.querySelector(":matches(:last-child,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 846 PASS document.getElementById('style-container').sheet.cssRules.length is 0 847 PASS document.querySelector(":matches(:last-child,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 848 PASS document.getElementById('style-container').sheet.cssRules.length is 0 849 PASS document.querySelector(":matches(:last-child,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 850 PASS document.getElementById('style-container').sheet.cssRules.length is 0 851 PASS document.querySelector(":matches(:last-child,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 852 PASS document.getElementById('style-container').sheet.cssRules.length is 0 853 PASS document.querySelector(":matches(:last-child,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 854 PASS document.getElementById('style-container').sheet.cssRules.length is 0 855 PASS document.querySelector(":matches(:last-child,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 856 PASS document.getElementById('style-container').sheet.cssRules.length is 0 857 PASS document.querySelector(":matches(:last-child,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 858 PASS document.getElementById('style-container').sheet.cssRules.length is 0 859 PASS document.querySelector(":matches(:last-child,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 860 PASS document.getElementById('style-container').sheet.cssRules.length is 0 861 PASS document.querySelector(":matches(:last-child,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 862 PASS document.getElementById('style-container').sheet.cssRules.length is 0 863 PASS document.querySelector(":matches(:last-child,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 864 PASS document.getElementById('style-container').sheet.cssRules.length is 0 847 865 PASS document.querySelector(":matches(::first-letter,::first-letter,)") threw exception Error: SyntaxError: DOM Exception 12. 848 866 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 851 869 PASS document.querySelector(":matches(::first-letter,::first-letter,,)") threw exception Error: SyntaxError: DOM Exception 12. 852 870 PASS document.getElementById('style-container').sheet.cssRules.length is 0 853 PASS document.querySelector(":matches(::first-letter,::first-letter,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.854 PASS document.getElementById('style-container').sheet.cssRules.length is 0855 871 PASS document.querySelector(":matches(::first-letter,::first-letter,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 856 872 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 879 895 PASS document.querySelector(":matches(::first-letter,::before,,)") threw exception Error: SyntaxError: DOM Exception 12. 880 896 PASS document.getElementById('style-container').sheet.cssRules.length is 0 881 PASS document.querySelector(":matches(::first-letter,::before,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.882 PASS document.getElementById('style-container').sheet.cssRules.length is 0883 897 PASS document.querySelector(":matches(::first-letter,::before,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 884 898 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 907 921 PASS document.querySelector(":matches(::first-letter,foobar#id.class,,)") threw exception Error: SyntaxError: DOM Exception 12. 908 922 PASS document.getElementById('style-container').sheet.cssRules.length is 0 909 PASS document.querySelector(":matches(::first-letter,foobar#id.class,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.910 PASS document.getElementById('style-container').sheet.cssRules.length is 0911 923 PASS document.querySelector(":matches(::first-letter,foobar#id.class,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 912 924 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 935 947 PASS document.querySelector(":matches(::first-letter,#id:empty,,)") threw exception Error: SyntaxError: DOM Exception 12. 936 948 PASS document.getElementById('style-container').sheet.cssRules.length is 0 937 PASS document.querySelector(":matches(::first-letter,#id:empty,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.938 PASS document.getElementById('style-container').sheet.cssRules.length is 0939 949 PASS document.querySelector(":matches(::first-letter,#id:empty,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 940 950 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 963 973 PASS document.querySelector(":matches(::first-letter,a b,,)") threw exception Error: SyntaxError: DOM Exception 12. 964 974 PASS document.getElementById('style-container').sheet.cssRules.length is 0 965 PASS document.querySelector(":matches(::first-letter,a b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.966 PASS document.getElementById('style-container').sheet.cssRules.length is 0967 975 PASS document.querySelector(":matches(::first-letter,a b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 968 976 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 991 999 PASS document.querySelector(":matches(::first-letter,a ~ b,,)") threw exception Error: SyntaxError: DOM Exception 12. 992 1000 PASS document.getElementById('style-container').sheet.cssRules.length is 0 993 PASS document.querySelector(":matches(::first-letter,a ~ b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.994 PASS document.getElementById('style-container').sheet.cssRules.length is 0995 1001 PASS document.querySelector(":matches(::first-letter,a ~ b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 996 1002 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1019 1025 PASS document.querySelector(":matches(::first-letter,:-webkit-any(.selector,#tama,#hanayo,#midoriko),,)") threw exception Error: SyntaxError: DOM Exception 12. 1020 1026 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1021 PASS document.querySelector(":matches(::first-letter,:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1022 PASS document.getElementById('style-container').sheet.cssRules.length is 01023 1027 PASS document.querySelector(":matches(::first-letter,:-webkit-any(.selector,#tama,#hanayo,#midoriko),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1024 1028 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1047 1051 PASS document.querySelector(":matches(::first-letter,:nth-child(even of a, b, c),,)") threw exception Error: SyntaxError: DOM Exception 12. 1048 1052 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1049 PASS document.querySelector(":matches(::first-letter,:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1050 PASS document.getElementById('style-container').sheet.cssRules.length is 01051 1053 PASS document.querySelector(":matches(::first-letter,:nth-child(even of a, b, c),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1052 1054 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1069 1071 PASS document.querySelector(":matches(::first-letter,:nth-child(even of a, b, c),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1070 1072 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1073 PASS document.querySelector(":matches(::first-letter,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1074 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1075 PASS document.querySelector(":matches(::first-letter,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1076 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1077 PASS document.querySelector(":matches(::first-letter,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1078 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1079 PASS document.querySelector(":matches(::first-letter,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1080 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1081 PASS document.querySelector(":matches(::first-letter,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1082 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1083 PASS document.querySelector(":matches(::first-letter,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1084 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1085 PASS document.querySelector(":matches(::first-letter,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1086 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1087 PASS document.querySelector(":matches(::first-letter,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1088 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1089 PASS document.querySelector(":matches(::first-letter,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 1090 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1091 PASS document.querySelector(":matches(::first-letter,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 1092 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1093 PASS document.querySelector(":matches(::first-letter,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 1094 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1095 PASS document.querySelector(":matches(::first-letter,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 1096 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1097 PASS document.querySelector(":matches(::first-letter,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1098 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1071 1099 PASS document.querySelector(":matches(::before,::before,)") threw exception Error: SyntaxError: DOM Exception 12. 1072 1100 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1075 1103 PASS document.querySelector(":matches(::before,::before,,)") threw exception Error: SyntaxError: DOM Exception 12. 1076 1104 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1077 PASS document.querySelector(":matches(::before,::before,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1078 PASS document.getElementById('style-container').sheet.cssRules.length is 01079 1105 PASS document.querySelector(":matches(::before,::before,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1080 1106 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1103 1129 PASS document.querySelector(":matches(::before,foobar#id.class,,)") threw exception Error: SyntaxError: DOM Exception 12. 1104 1130 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1105 PASS document.querySelector(":matches(::before,foobar#id.class,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1106 PASS document.getElementById('style-container').sheet.cssRules.length is 01107 1131 PASS document.querySelector(":matches(::before,foobar#id.class,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1108 1132 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1131 1155 PASS document.querySelector(":matches(::before,#id:empty,,)") threw exception Error: SyntaxError: DOM Exception 12. 1132 1156 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1133 PASS document.querySelector(":matches(::before,#id:empty,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1134 PASS document.getElementById('style-container').sheet.cssRules.length is 01135 1157 PASS document.querySelector(":matches(::before,#id:empty,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1136 1158 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1159 1181 PASS document.querySelector(":matches(::before,a b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1160 1182 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1161 PASS document.querySelector(":matches(::before,a b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1162 PASS document.getElementById('style-container').sheet.cssRules.length is 01163 1183 PASS document.querySelector(":matches(::before,a b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1164 1184 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1187 1207 PASS document.querySelector(":matches(::before,a ~ b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1188 1208 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1189 PASS document.querySelector(":matches(::before,a ~ b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1190 PASS document.getElementById('style-container').sheet.cssRules.length is 01191 1209 PASS document.querySelector(":matches(::before,a ~ b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1192 1210 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1215 1233 PASS document.querySelector(":matches(::before,:-webkit-any(.selector,#tama,#hanayo,#midoriko),,)") threw exception Error: SyntaxError: DOM Exception 12. 1216 1234 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1217 PASS document.querySelector(":matches(::before,:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1218 PASS document.getElementById('style-container').sheet.cssRules.length is 01219 1235 PASS document.querySelector(":matches(::before,:-webkit-any(.selector,#tama,#hanayo,#midoriko),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1220 1236 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1243 1259 PASS document.querySelector(":matches(::before,:nth-child(even of a, b, c),,)") threw exception Error: SyntaxError: DOM Exception 12. 1244 1260 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1245 PASS document.querySelector(":matches(::before,:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1246 PASS document.getElementById('style-container').sheet.cssRules.length is 01247 1261 PASS document.querySelector(":matches(::before,:nth-child(even of a, b, c),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1248 1262 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1265 1279 PASS document.querySelector(":matches(::before,:nth-child(even of a, b, c),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1266 1280 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1281 PASS document.querySelector(":matches(::before,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1282 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1283 PASS document.querySelector(":matches(::before,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1284 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1285 PASS document.querySelector(":matches(::before,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1286 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1287 PASS document.querySelector(":matches(::before,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1288 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1289 PASS document.querySelector(":matches(::before,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1290 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1291 PASS document.querySelector(":matches(::before,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1292 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1293 PASS document.querySelector(":matches(::before,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1294 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1295 PASS document.querySelector(":matches(::before,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1296 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1297 PASS document.querySelector(":matches(::before,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 1298 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1299 PASS document.querySelector(":matches(::before,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 1300 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1301 PASS document.querySelector(":matches(::before,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 1302 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1303 PASS document.querySelector(":matches(::before,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 1304 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1305 PASS document.querySelector(":matches(::before,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1306 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1267 1307 PASS document.querySelector(":matches(foobar#id.class,foobar#id.class,)") threw exception Error: SyntaxError: DOM Exception 12. 1268 1308 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1271 1311 PASS document.querySelector(":matches(foobar#id.class,foobar#id.class,,)") threw exception Error: SyntaxError: DOM Exception 12. 1272 1312 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1273 PASS document.querySelector(":matches(foobar#id.class,foobar#id.class,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1274 PASS document.getElementById('style-container').sheet.cssRules.length is 01275 1313 PASS document.querySelector(":matches(foobar#id.class,foobar#id.class,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1276 1314 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1299 1337 PASS document.querySelector(":matches(foobar#id.class,#id:empty,,)") threw exception Error: SyntaxError: DOM Exception 12. 1300 1338 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1301 PASS document.querySelector(":matches(foobar#id.class,#id:empty,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1302 PASS document.getElementById('style-container').sheet.cssRules.length is 01303 1339 PASS document.querySelector(":matches(foobar#id.class,#id:empty,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1304 1340 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1327 1363 PASS document.querySelector(":matches(foobar#id.class,a b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1328 1364 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1329 PASS document.querySelector(":matches(foobar#id.class,a b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1330 PASS document.getElementById('style-container').sheet.cssRules.length is 01331 1365 PASS document.querySelector(":matches(foobar#id.class,a b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1332 1366 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1355 1389 PASS document.querySelector(":matches(foobar#id.class,a ~ b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1356 1390 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1357 PASS document.querySelector(":matches(foobar#id.class,a ~ b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1358 PASS document.getElementById('style-container').sheet.cssRules.length is 01359 1391 PASS document.querySelector(":matches(foobar#id.class,a ~ b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1360 1392 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1383 1415 PASS document.querySelector(":matches(foobar#id.class,:-webkit-any(.selector,#tama,#hanayo,#midoriko),,)") threw exception Error: SyntaxError: DOM Exception 12. 1384 1416 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1385 PASS document.querySelector(":matches(foobar#id.class,:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1386 PASS document.getElementById('style-container').sheet.cssRules.length is 01387 1417 PASS document.querySelector(":matches(foobar#id.class,:-webkit-any(.selector,#tama,#hanayo,#midoriko),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1388 1418 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1411 1441 PASS document.querySelector(":matches(foobar#id.class,:nth-child(even of a, b, c),,)") threw exception Error: SyntaxError: DOM Exception 12. 1412 1442 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1413 PASS document.querySelector(":matches(foobar#id.class,:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1414 PASS document.getElementById('style-container').sheet.cssRules.length is 01415 1443 PASS document.querySelector(":matches(foobar#id.class,:nth-child(even of a, b, c),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1416 1444 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1433 1461 PASS document.querySelector(":matches(foobar#id.class,:nth-child(even of a, b, c),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1434 1462 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1463 PASS document.querySelector(":matches(foobar#id.class,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1464 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1465 PASS document.querySelector(":matches(foobar#id.class,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1466 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1467 PASS document.querySelector(":matches(foobar#id.class,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1468 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1469 PASS document.querySelector(":matches(foobar#id.class,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1470 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1471 PASS document.querySelector(":matches(foobar#id.class,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1472 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1473 PASS document.querySelector(":matches(foobar#id.class,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1474 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1475 PASS document.querySelector(":matches(foobar#id.class,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1476 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1477 PASS document.querySelector(":matches(foobar#id.class,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1478 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1479 PASS document.querySelector(":matches(foobar#id.class,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 1480 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1481 PASS document.querySelector(":matches(foobar#id.class,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 1482 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1483 PASS document.querySelector(":matches(foobar#id.class,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 1484 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1485 PASS document.querySelector(":matches(foobar#id.class,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 1486 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1487 PASS document.querySelector(":matches(foobar#id.class,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1488 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1435 1489 PASS document.querySelector(":matches(#id:empty,#id:empty,)") threw exception Error: SyntaxError: DOM Exception 12. 1436 1490 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1439 1493 PASS document.querySelector(":matches(#id:empty,#id:empty,,)") threw exception Error: SyntaxError: DOM Exception 12. 1440 1494 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1441 PASS document.querySelector(":matches(#id:empty,#id:empty,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1442 PASS document.getElementById('style-container').sheet.cssRules.length is 01443 1495 PASS document.querySelector(":matches(#id:empty,#id:empty,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1444 1496 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1467 1519 PASS document.querySelector(":matches(#id:empty,a b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1468 1520 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1469 PASS document.querySelector(":matches(#id:empty,a b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1470 PASS document.getElementById('style-container').sheet.cssRules.length is 01471 1521 PASS document.querySelector(":matches(#id:empty,a b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1472 1522 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1495 1545 PASS document.querySelector(":matches(#id:empty,a ~ b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1496 1546 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1497 PASS document.querySelector(":matches(#id:empty,a ~ b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1498 PASS document.getElementById('style-container').sheet.cssRules.length is 01499 1547 PASS document.querySelector(":matches(#id:empty,a ~ b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1500 1548 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1523 1571 PASS document.querySelector(":matches(#id:empty,:-webkit-any(.selector,#tama,#hanayo,#midoriko),,)") threw exception Error: SyntaxError: DOM Exception 12. 1524 1572 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1525 PASS document.querySelector(":matches(#id:empty,:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1526 PASS document.getElementById('style-container').sheet.cssRules.length is 01527 1573 PASS document.querySelector(":matches(#id:empty,:-webkit-any(.selector,#tama,#hanayo,#midoriko),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1528 1574 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1551 1597 PASS document.querySelector(":matches(#id:empty,:nth-child(even of a, b, c),,)") threw exception Error: SyntaxError: DOM Exception 12. 1552 1598 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1553 PASS document.querySelector(":matches(#id:empty,:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1554 PASS document.getElementById('style-container').sheet.cssRules.length is 01555 1599 PASS document.querySelector(":matches(#id:empty,:nth-child(even of a, b, c),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1556 1600 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1573 1617 PASS document.querySelector(":matches(#id:empty,:nth-child(even of a, b, c),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1574 1618 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1619 PASS document.querySelector(":matches(#id:empty,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1620 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1621 PASS document.querySelector(":matches(#id:empty,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1622 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1623 PASS document.querySelector(":matches(#id:empty,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1624 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1625 PASS document.querySelector(":matches(#id:empty,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1626 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1627 PASS document.querySelector(":matches(#id:empty,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1628 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1629 PASS document.querySelector(":matches(#id:empty,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1630 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1631 PASS document.querySelector(":matches(#id:empty,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1632 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1633 PASS document.querySelector(":matches(#id:empty,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1634 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1635 PASS document.querySelector(":matches(#id:empty,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 1636 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1637 PASS document.querySelector(":matches(#id:empty,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 1638 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1639 PASS document.querySelector(":matches(#id:empty,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 1640 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1641 PASS document.querySelector(":matches(#id:empty,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 1642 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1643 PASS document.querySelector(":matches(#id:empty,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1644 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1575 1645 PASS document.querySelector(":matches(a b,a b,)") threw exception Error: SyntaxError: DOM Exception 12. 1576 1646 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1579 1649 PASS document.querySelector(":matches(a b,a b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1580 1650 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1581 PASS document.querySelector(":matches(a b,a b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1582 PASS document.getElementById('style-container').sheet.cssRules.length is 01583 1651 PASS document.querySelector(":matches(a b,a b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1584 1652 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1607 1675 PASS document.querySelector(":matches(a b,a ~ b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1608 1676 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1609 PASS document.querySelector(":matches(a b,a ~ b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1610 PASS document.getElementById('style-container').sheet.cssRules.length is 01611 1677 PASS document.querySelector(":matches(a b,a ~ b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1612 1678 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1635 1701 PASS document.querySelector(":matches(a b,:-webkit-any(.selector,#tama,#hanayo,#midoriko),,)") threw exception Error: SyntaxError: DOM Exception 12. 1636 1702 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1637 PASS document.querySelector(":matches(a b,:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1638 PASS document.getElementById('style-container').sheet.cssRules.length is 01639 1703 PASS document.querySelector(":matches(a b,:-webkit-any(.selector,#tama,#hanayo,#midoriko),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1640 1704 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1663 1727 PASS document.querySelector(":matches(a b,:nth-child(even of a, b, c),,)") threw exception Error: SyntaxError: DOM Exception 12. 1664 1728 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1665 PASS document.querySelector(":matches(a b,:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1666 PASS document.getElementById('style-container').sheet.cssRules.length is 01667 1729 PASS document.querySelector(":matches(a b,:nth-child(even of a, b, c),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1668 1730 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1685 1747 PASS document.querySelector(":matches(a b,:nth-child(even of a, b, c),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1686 1748 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1749 PASS document.querySelector(":matches(a b,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1750 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1751 PASS document.querySelector(":matches(a b,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1752 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1753 PASS document.querySelector(":matches(a b,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1754 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1755 PASS document.querySelector(":matches(a b,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1756 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1757 PASS document.querySelector(":matches(a b,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1758 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1759 PASS document.querySelector(":matches(a b,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1760 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1761 PASS document.querySelector(":matches(a b,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1762 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1763 PASS document.querySelector(":matches(a b,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1764 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1765 PASS document.querySelector(":matches(a b,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 1766 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1767 PASS document.querySelector(":matches(a b,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 1768 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1769 PASS document.querySelector(":matches(a b,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 1770 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1771 PASS document.querySelector(":matches(a b,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 1772 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1773 PASS document.querySelector(":matches(a b,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1774 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1687 1775 PASS document.querySelector(":matches(a ~ b,a ~ b,)") threw exception Error: SyntaxError: DOM Exception 12. 1688 1776 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1691 1779 PASS document.querySelector(":matches(a ~ b,a ~ b,,)") threw exception Error: SyntaxError: DOM Exception 12. 1692 1780 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1693 PASS document.querySelector(":matches(a ~ b,a ~ b,:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1694 PASS document.getElementById('style-container').sheet.cssRules.length is 01695 1781 PASS document.querySelector(":matches(a ~ b,a ~ b,.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1696 1782 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1719 1805 PASS document.querySelector(":matches(a ~ b,:-webkit-any(.selector,#tama,#hanayo,#midoriko),,)") threw exception Error: SyntaxError: DOM Exception 12. 1720 1806 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1721 PASS document.querySelector(":matches(a ~ b,:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1722 PASS document.getElementById('style-container').sheet.cssRules.length is 01723 1807 PASS document.querySelector(":matches(a ~ b,:-webkit-any(.selector,#tama,#hanayo,#midoriko),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1724 1808 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1747 1831 PASS document.querySelector(":matches(a ~ b,:nth-child(even of a, b, c),,)") threw exception Error: SyntaxError: DOM Exception 12. 1748 1832 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1749 PASS document.querySelector(":matches(a ~ b,:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1750 PASS document.getElementById('style-container').sheet.cssRules.length is 01751 1833 PASS document.querySelector(":matches(a ~ b,:nth-child(even of a, b, c),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1752 1834 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1769 1851 PASS document.querySelector(":matches(a ~ b,:nth-child(even of a, b, c),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1770 1852 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1853 PASS document.querySelector(":matches(a ~ b,:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1854 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1855 PASS document.querySelector(":matches(a ~ b,:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1856 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1857 PASS document.querySelector(":matches(a ~ b,:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1858 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1859 PASS document.querySelector(":matches(a ~ b,:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1860 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1861 PASS document.querySelector(":matches(a ~ b,:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1862 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1863 PASS document.querySelector(":matches(a ~ b,:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1864 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1865 PASS document.querySelector(":matches(a ~ b,:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1866 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1867 PASS document.querySelector(":matches(a ~ b,:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1868 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1869 PASS document.querySelector(":matches(a ~ b,:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 1870 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1871 PASS document.querySelector(":matches(a ~ b,:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 1872 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1873 PASS document.querySelector(":matches(a ~ b,:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 1874 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1875 PASS document.querySelector(":matches(a ~ b,:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 1876 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1877 PASS document.querySelector(":matches(a ~ b,:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1878 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1771 1879 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:-webkit-any(.selector,#tama,#hanayo,#midoriko),)") threw exception Error: SyntaxError: DOM Exception 12. 1772 1880 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1775 1883 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:-webkit-any(.selector,#tama,#hanayo,#midoriko),,)") threw exception Error: SyntaxError: DOM Exception 12. 1776 1884 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1777 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1778 PASS document.getElementById('style-container').sheet.cssRules.length is 01779 1885 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:-webkit-any(.selector,#tama,#hanayo,#midoriko),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1780 1886 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1803 1909 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:nth-child(even of a, b, c),,)") threw exception Error: SyntaxError: DOM Exception 12. 1804 1910 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1805 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1806 PASS document.getElementById('style-container').sheet.cssRules.length is 01807 1911 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:nth-child(even of a, b, c),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1808 1912 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1825 1929 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:nth-child(even of a, b, c),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1826 1930 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1931 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1932 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1933 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1934 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1935 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1936 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1937 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1938 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1939 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1940 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1941 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1942 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1943 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1944 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1945 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1946 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1947 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 1948 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1949 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 1950 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1951 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 1952 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1953 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 1954 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1955 PASS document.querySelector(":matches(:-webkit-any(.selector,#tama,#hanayo,#midoriko),:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1956 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1827 1957 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:nth-child(even of a, b, c),)") threw exception Error: SyntaxError: DOM Exception 12. 1828 1958 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1831 1961 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:nth-child(even of a, b, c),,)") threw exception Error: SyntaxError: DOM Exception 12. 1832 1962 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1833 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)))") threw exception Error: SyntaxError: DOM Exception 12.1834 PASS document.getElementById('style-container').sheet.cssRules.length is 01835 1963 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:nth-child(even of a, b, c),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1836 1964 PASS document.getElementById('style-container').sheet.cssRules.length is 0 … … 1852 1980 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1853 1981 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:nth-child(even of a, b, c),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1982 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1983 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 1984 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1985 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 1986 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1987 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 1988 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1989 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 1990 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1991 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 1992 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1993 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 1994 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1995 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 1996 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1997 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 1998 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1999 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 2000 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2001 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 2002 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2003 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 2004 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2005 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 2006 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2007 PASS document.querySelector(":matches(:nth-child(even of a, b, c),:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 2008 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2009 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),)") threw exception Error: SyntaxError: DOM Exception 12. 2010 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2011 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)), )") threw exception Error: SyntaxError: DOM Exception 12. 2012 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2013 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),,)") threw exception Error: SyntaxError: DOM Exception 12. 2014 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2015 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),.123class)") threw exception Error: SyntaxError: DOM Exception 12. 2016 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2017 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),#123id)") threw exception Error: SyntaxError: DOM Exception 12. 2018 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2019 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),[])") threw exception Error: SyntaxError: DOM Exception 12. 2020 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2021 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),())") threw exception Error: SyntaxError: DOM Exception 12. 2022 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2023 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),))") threw exception Error: SyntaxError: DOM Exception 12. 2024 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2025 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),{})") threw exception Error: SyntaxError: DOM Exception 12. 2026 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2027 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),})") threw exception Error: SyntaxError: DOM Exception 12. 2028 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2029 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),:not()") threw exception Error: SyntaxError: DOM Exception 12. 2030 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2031 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),:matches()") threw exception Error: SyntaxError: DOM Exception 12. 2032 PASS document.getElementById('style-container').sheet.cssRules.length is 0 2033 PASS document.querySelector(":matches(:not(:matches(cocoa, cappuccino)),:not(:matches(cocoa, cappuccino)),:nth-child(2n+1 of)") threw exception Error: SyntaxError: DOM Exception 12. 1854 2034 PASS document.getElementById('style-container').sheet.cssRules.length is 0 1855 2035 PASS successfullyParsed is true -
trunk/LayoutTests/fast/css/parsing-css-matches-8.html
r174259 r174535 41 41 ":-webkit-any(.selector,#tama,#hanayo,#midoriko)", 42 42 ":nth-child(even of a, b, c)", 43 ":not(:matches(cocoa, cappuccino))", 43 44 ]; 44 45 … … 48 49 " ", 49 50 ",", 50 51 // Currently not allows functional pseudo classes inside :not.52 ":not(:matches(cocoa, cappuccino))",53 51 54 52 ".123class", -
trunk/LayoutTests/fast/dom/SelectorAPI/resig-SelectorsAPI-test-expected.txt
r159326 r174535 5 5 Show only failing tests. 6 6 7 100.0%: 2163 passed, 1failed7 99.2%: 2147 passed, 17 failed 8 8 PASS Element supports querySelector 9 9 PASS Element supports querySelectorAll … … 556 556 PASS Syntax Error: Element.querySelector undefined 557 557 PASS Syntax Error: Element.querySelector no value 558 PASSSyntax Error: Element.querySelectorAll: .blox16:not(.blox15[foo="blox14"])559 PASSSyntax Error: Element.querySelector: .blox16:not(.blox15[foo="blox14"])560 PASSSyntax Error: Element.querySelectorAll: div:not(:not(div))561 PASSSyntax Error: Element.querySelector: div:not(:not(div))558 FAIL Syntax Error: Element.querySelectorAll: .blox16:not(.blox15[foo="blox14"]) 559 FAIL Syntax Error: Element.querySelector: .blox16:not(.blox15[foo="blox14"]) 560 FAIL Syntax Error: Element.querySelectorAll: div:not(:not(div)) 561 FAIL Syntax Error: Element.querySelector: div:not(:not(div)) 562 562 PASS Syntax Error: Element.querySelectorAll: div, 563 563 PASS Syntax Error: Element.querySelector: div, … … 1154 1154 PASS Syntax Error: Disconnected Element.querySelector undefined 1155 1155 PASS Syntax Error: Disconnected Element.querySelector no value 1156 PASSSyntax Error: Disconnected Element.querySelectorAll: .blox16:not(.blox15[foo="blox14"])1157 PASSSyntax Error: Disconnected Element.querySelector: .blox16:not(.blox15[foo="blox14"])1158 PASSSyntax Error: Disconnected Element.querySelectorAll: div:not(:not(div))1159 PASSSyntax Error: Disconnected Element.querySelector: div:not(:not(div))1156 FAIL Syntax Error: Disconnected Element.querySelectorAll: .blox16:not(.blox15[foo="blox14"]) 1157 FAIL Syntax Error: Disconnected Element.querySelector: .blox16:not(.blox15[foo="blox14"]) 1158 FAIL Syntax Error: Disconnected Element.querySelectorAll: div:not(:not(div)) 1159 FAIL Syntax Error: Disconnected Element.querySelector: div:not(:not(div)) 1160 1160 PASS Syntax Error: Disconnected Element.querySelectorAll: div, 1161 1161 PASS Syntax Error: Disconnected Element.querySelector: div, … … 1635 1635 PASS Syntax Error: Fragment.querySelector undefined 1636 1636 PASS Syntax Error: Fragment.querySelector no value 1637 PASSSyntax Error: Fragment.querySelectorAll: .blox16:not(.blox15[foo="blox14"])1638 PASSSyntax Error: Fragment.querySelector: .blox16:not(.blox15[foo="blox14"])1639 PASSSyntax Error: Fragment.querySelectorAll: div:not(:not(div))1640 PASSSyntax Error: Fragment.querySelector: div:not(:not(div))1637 FAIL Syntax Error: Fragment.querySelectorAll: .blox16:not(.blox15[foo="blox14"]) 1638 FAIL Syntax Error: Fragment.querySelector: .blox16:not(.blox15[foo="blox14"]) 1639 FAIL Syntax Error: Fragment.querySelectorAll: div:not(:not(div)) 1640 FAIL Syntax Error: Fragment.querySelector: div:not(:not(div)) 1641 1641 PASS Syntax Error: Fragment.querySelectorAll: div, 1642 1642 PASS Syntax Error: Fragment.querySelector: div, … … 1998 1998 PASS Syntax Error: Document.querySelector undefined 1999 1999 PASS Syntax Error: Document.querySelector no value 2000 PASSSyntax Error: Document.querySelectorAll: .blox16:not(.blox15[foo="blox14"])2001 PASSSyntax Error: Document.querySelector: .blox16:not(.blox15[foo="blox14"])2002 PASSSyntax Error: Document.querySelectorAll: div:not(:not(div))2003 PASSSyntax Error: Document.querySelector: div:not(:not(div))2000 FAIL Syntax Error: Document.querySelectorAll: .blox16:not(.blox15[foo="blox14"]) 2001 FAIL Syntax Error: Document.querySelector: .blox16:not(.blox15[foo="blox14"]) 2002 FAIL Syntax Error: Document.querySelectorAll: div:not(:not(div)) 2003 FAIL Syntax Error: Document.querySelector: div:not(:not(div)) 2004 2004 PASS Syntax Error: Document.querySelectorAll: div, 2005 2005 PASS Syntax Error: Document.querySelector: div, -
trunk/LayoutTests/platform/mac/css3/selectors3/html/css3-modsel-61-expected.txt
r97602 r174535 5 5 RenderBody {BODY} at (8,8) size 784x18 6 6 RenderBlock {DIV} at (0,0) size 784x18 7 RenderInline {A} at (0,0) size 284x18 [color=#551A8B] [bgcolor=# 00FF00]7 RenderInline {A} at (0,0) size 284x18 [color=#551A8B] [bgcolor=#FF0000] 8 8 RenderText {#text} at (0,0) size 284x18 9 9 text run at (0,0) width 284: "This anchor should have a green background" -
trunk/LayoutTests/platform/mac/css3/selectors3/html/css3-modsel-83-expected.txt
r91104 r174535 4 4 RenderBlock {HTML} at (0,0) size 800x50 5 5 RenderBody {BODY} at (8,16) size 784x18 6 RenderBlock {P} at (0,0) size 784x18 [bgcolor=# 00FF00]6 RenderBlock {P} at (0,0) size 784x18 [bgcolor=#FF0000] 7 7 RenderText {#text} at (0,0) size 304x18 8 8 text run at (0,0) width 304: "This paragraph should have a green background" -
trunk/LayoutTests/platform/mac/css3/selectors3/xhtml/css3-modsel-61-expected.txt
r97602 r174535 5 5 RenderBody {body} at (8,8) size 784x18 6 6 RenderBlock {div} at (0,0) size 784x18 7 RenderInline {a} at (0,0) size 284x18 [color=#551A8B] [bgcolor=# 00FF00]7 RenderInline {a} at (0,0) size 284x18 [color=#551A8B] [bgcolor=#FF0000] 8 8 RenderText {#text} at (0,0) size 284x18 9 9 text run at (0,0) width 284: "This anchor should have a green background" -
trunk/LayoutTests/platform/mac/css3/selectors3/xhtml/css3-modsel-83-expected.txt
r91104 r174535 4 4 RenderBlock {html} at (0,0) size 800x50 5 5 RenderBody {body} at (8,16) size 784x18 6 RenderBlock {p} at (0,0) size 784x18 [bgcolor=# 00FF00]6 RenderBlock {p} at (0,0) size 784x18 [bgcolor=#FF0000] 7 7 RenderText {#text} at (0,0) size 304x18 8 8 text run at (0,0) width 304: "This paragraph should have a green background" -
trunk/LayoutTests/platform/mac/css3/selectors3/xml/css3-modsel-61-expected.txt
r97602 r174535 4 4 RenderBlock {test} at (0,0) size 800x18 5 5 RenderBlock {div} at (0,0) size 800x18 6 RenderInline {a} at (0,0) size 284x18 [color=#551A8B] [bgcolor=# 00FF00]6 RenderInline {a} at (0,0) size 284x18 [color=#551A8B] [bgcolor=#FF0000] 7 7 RenderText {#text} at (0,0) size 284x18 8 8 text run at (0,0) width 284: "This anchor should have a green background" -
trunk/LayoutTests/platform/mac/css3/selectors3/xml/css3-modsel-83-expected.txt
r91104 r174535 3 3 layer at (0,0) size 800x50 4 4 RenderBlock {test} at (0,0) size 800x50 5 RenderBlock {p} at (0,16) size 800x18 [bgcolor=# 00FF00]5 RenderBlock {p} at (0,16) size 800x18 [bgcolor=#FF0000] 6 6 RenderText {#text} at (0,0) size 304x18 7 7 text run at (0,0) width 304: "This paragraph should have a green background" -
trunk/LayoutTests/platform/mac/fast/selectors/061-expected.txt
r97602 r174535 5 5 RenderBody {BODY} at (8,8) size 784x18 6 6 RenderBlock {DIV} at (0,0) size 784x18 7 RenderInline {A} at (0,0) size 284x18 [color=#551A8B] [bgcolor=# 00FF00]7 RenderInline {A} at (0,0) size 284x18 [color=#551A8B] [bgcolor=#FF0000] 8 8 RenderText {#text} at (0,0) size 284x18 9 9 text run at (0,0) width 284: "This anchor should have a green background" -
trunk/LayoutTests/platform/mac/fast/selectors/083-expected.txt
r25970 r174535 4 4 RenderBlock {HTML} at (0,0) size 800x50 5 5 RenderBody {BODY} at (8,16) size 784x18 6 RenderBlock {P} at (0,0) size 784x18 [bgcolor=# 00FF00]6 RenderBlock {P} at (0,0) size 784x18 [bgcolor=#FF0000] 7 7 RenderText {#text} at (0,0) size 304x18 8 8 text run at (0,0) width 304: "This paragraph should have a green background" -
trunk/Source/WebCore/ChangeLog
r174524 r174535 1 2014-10-09 Benjamin Poulain <benjamin@webkit.org> 2 3 Add the baseline implementation of :not(selectorList) 4 https://bugs.webkit.org/show_bug.cgi?id=137548 5 6 Reviewed by Andreas Kling. 7 8 This patch extend the pseudo class :not() to support the new definition 9 in CSS Selectors level 4. 10 11 Instead of supporting a single simple selector, :not() now support 12 an arbitrary selector list, excepted pseudo elements. 13 14 One side effect of this change is :visited and :link are no longer supported 15 inside :not(). The reason has to do with complexity and performance. 16 Since :not() and :matches() can have arbitrary selector list, keeping track of 17 :visited and :link can have many combination superposing, some valid, some invalid. 18 19 Supporting :visited and :link should be possible by chaning the way we handle 20 them for style resolution, but given the limited use cases for such features 21 I'll wait to see if there is any interest before changing everything. 22 23 This patch only covers SelectorChecker to keep things simple. The CSS JIT 24 will come later. 25 26 Tests: fast/css/not-basics.html 27 fast/css/parsing-css-not-1.html 28 fast/css/parsing-css-not-2.html 29 fast/css/parsing-css-not-3.html 30 fast/css/parsing-css-not-4.html 31 fast/css/parsing-css-not-5.html 32 fast/css/parsing-css-not-6.html 33 fast/css/parsing-css-not-7.html 34 fast/css/parsing-css-not-8.html 35 fast/css/parsing-css-not-9.html 36 fast/css/parsing-css-nth-child-of-4.html 37 fast/selectors/not-basics.html 38 fast/selectors/not-nested.html 39 fast/selectors/not-selector-list.html 40 41 * css/CSSGrammar.y.in: 42 Rename selectorListDoesNotMatchAnyPseudoElement() to selectorListDoesNotMatchAnyPseudoElement() 43 since both :not() and :nth-child(An+B of selectorList) have the same requirements at the moment. 44 45 * css/CSSParserValues.cpp: 46 (WebCore::selectorListMatchesPseudoElement): 47 The patch adding :matches() introduced the possibility of putting pseudo element 48 arbitrary deep in a sequence of nested :matches(). Since this case is forbidded 49 by :not() and :nth-child(An+B of selectorList), selectorListMatchesPseudoElement() 50 now becomes recursive to find those pseudo elements. 51 52 * css/CSSSelector.cpp: 53 (WebCore::CSSSelector::selectorText): 54 CSSOM for the extended :not(). 55 56 * css/SelectorChecker.cpp: 57 (WebCore::SelectorChecker::checkOne): 58 (WebCore::SelectorChecker::determineLinkMatchType): 59 * cssjit/SelectorCompiler.cpp: 60 61 (WebCore::SelectorCompiler::addPseudoClassType): 62 Disable the new capabilities from the JIT for now. 63 1 64 2014-10-09 Tim Horton <timothy_horton@apple.com> 2 65 -
trunk/Source/WebCore/css/CSSGrammar.y.in
r174379 r174535 85 85 auto invalidSelectorVector = reinterpret_cast<Vector<std::unique_ptr<CSSParserSelector>>*>(-1); 86 86 87 static bool isValidNthSelectorList(const Vector<std::unique_ptr<CSSParserSelector>>* selectorVector)87 static bool selectorListDoesNotMatchAnyPseudoElement(const Vector<std::unique_ptr<CSSParserSelector>>* selectorVector) 88 88 { 89 89 if (!selectorVector) … … 1365 1365 | ':' NTHCHILDFUNCTION maybe_space NTH nth_selector_ending { 1366 1366 $$ = nullptr; 1367 if ( isValidNthSelectorList($5)) {1367 if (selectorListDoesNotMatchAnyPseudoElement($5)) { 1368 1368 auto selector = std::make_unique<CSSParserSelector>(); 1369 1369 selector->setMatch(CSSSelector::PseudoClass); … … 1378 1378 | ':' NTHCHILDFUNCTION maybe_space maybe_unary_operator INTEGER nth_selector_ending { 1379 1379 $$ = nullptr; 1380 if ( isValidNthSelectorList($6)) {1380 if (selectorListDoesNotMatchAnyPseudoElement($6)) { 1381 1381 auto selector = std::make_unique<CSSParserSelector>(); 1382 1382 selector->setMatch(CSSSelector::PseudoClass); … … 1391 1391 | ':' NTHCHILDFUNCTION maybe_space IDENT nth_selector_ending { 1392 1392 $$ = nullptr; 1393 if (isValidNthToken($4) && isValidNthSelectorList($5)) {1393 if (isValidNthToken($4) && selectorListDoesNotMatchAnyPseudoElement($5)) { 1394 1394 auto selector = std::make_unique<CSSParserSelector>(); 1395 1395 selector->setMatch(CSSSelector::PseudoClass); … … 1442 1442 } 1443 1443 1444 // used by :not 1444 // Definition of :not(). 1445 #if ENABLE_CSS_SELECTORS_LEVEL4 1446 | ':' NOTFUNCTION maybe_space nested_selector_list maybe_space ')' { 1447 $$ = nullptr; 1448 if ($4 && selectorListDoesNotMatchAnyPseudoElement($4)) { 1449 auto selector = std::make_unique<CSSParserSelector>(); 1450 selector->setMatch(CSSSelector::PseudoClass); 1451 selector->setPseudoClassValue($2); 1452 selector->adoptSelectorVector(*std::unique_ptr<Vector<std::unique_ptr<CSSParserSelector>>>($4)); 1453 if (selector->pseudoClassType() == CSSSelector::PseudoClassNot) 1454 $$ = selector.release(); 1455 } 1456 } 1457 #else 1445 1458 | ':' NOTFUNCTION maybe_space compound_selector maybe_space ')' { 1446 1459 std::unique_ptr<CSSParserSelector> selector($4); … … 1456 1469 } 1457 1470 } 1471 #endif 1458 1472 ; 1459 1473 -
trunk/Source/WebCore/css/CSSParserValues.cpp
r173698 r174535 296 296 if (selector->matchesPseudoElement()) 297 297 return true; 298 if (const CSSSelectorList* subselectorList = selector->selectorList()) { 299 if (selectorListMatchesPseudoElement(subselectorList)) 300 return true; 301 } 298 302 } 299 303 } -
trunk/Source/WebCore/css/CSSSelector.cpp
r174259 r174535 407 407 case CSSSelector::PseudoClassNot: 408 408 str.appendLiteral(":not("); 409 #if ENABLE(CSS_SELECTORS_LEVEL4) 410 appendSelectorList(str, cs->selectorList()); 411 #else 409 412 if (const CSSSelectorList* selectorList = cs->selectorList()) 410 413 str.append(selectorList->first()->selectorText()); 414 #endif 411 415 str.append(')'); 412 416 break; -
trunk/Source/WebCore/css/SelectorChecker.cpp
r174259 r174535 522 522 const CSSSelectorList* selectorList = selector->selectorList(); 523 523 524 #if !ENABLE(CSS_SELECTORS_LEVEL4) 524 525 // FIXME: We probably should fix the parser and make it never produce :not rules with missing selector list. 525 526 if (!selectorList) 526 527 return false; 527 528 CheckingContextWithStatus subContext(context); 529 subContext.inFunctionalPseudoClass = true; 530 subContext.firstSelectorOfTheFragment = selectorList->first(); 531 for (subContext.selector = selectorList->first(); subContext.selector; subContext.selector = subContext.selector->tagHistory()) { 532 if (subContext.selector->match() == CSSSelector::PseudoClass) { 528 #endif 529 530 for (const CSSSelector* subselector = selectorList->first(); subselector; subselector = CSSSelectorList::next(subselector)) { 531 CheckingContextWithStatus subcontext(context); 532 subcontext.inFunctionalPseudoClass = true; 533 subcontext.selector = subselector; 534 subcontext.firstSelectorOfTheFragment = selectorList->first(); 535 536 #if ENABLE(CSS_SELECTORS_LEVEL4) 537 PseudoId ignoreDynamicPseudo = NOPSEUDO; 538 if (matchRecursively(subcontext, ignoreDynamicPseudo) == SelectorMatches) { 539 ASSERT(ignoreDynamicPseudo == NOPSEUDO); 540 return false; 541 } 542 #else 543 if (subcontext.selector->match() == CSSSelector::PseudoClass) { 533 544 // :not cannot nest. I don't really know why this is a 534 545 // restriction in CSS3, but it is, so let's honor it. 535 546 // the parser enforces that this never occurs 536 ASSERT(sub Context.selector->pseudoClassType() != CSSSelector::PseudoClassNot);547 ASSERT(subcontext.selector->pseudoClassType() != CSSSelector::PseudoClassNot); 537 548 // We select between :visited and :link when applying. We don't know which one applied (or not) yet. 538 if (sub Context.selector->pseudoClassType() == CSSSelector::PseudoClassVisited || (subContext.selector->pseudoClassType() == CSSSelector::PseudoClassLink && subContext.visitedMatchType == VisitedMatchType::Enabled))549 if (subcontext.selector->pseudoClassType() == CSSSelector::PseudoClassVisited || (subcontext.selector->pseudoClassType() == CSSSelector::PseudoClassLink && subcontext.visitedMatchType == VisitedMatchType::Enabled)) 539 550 return true; 540 551 } 541 if (!checkOne(sub Context))552 if (!checkOne(subcontext)) 542 553 return true; 543 } 554 #endif 555 } 556 #if ENABLE(CSS_SELECTORS_LEVEL4) 557 return true; 558 #endif 544 559 } else if (context.hasScrollbarPseudo) { 545 560 // CSS scrollbars match a specific subset of pseudo classes, and they have specialized rules for each … … 961 976 if (selector->match() == CSSSelector::PseudoClass) { 962 977 switch (selector->pseudoClassType()) { 978 #if! ENABLE(CSS_SELECTORS_LEVEL4) 963 979 case CSSSelector::PseudoClassNot: 964 980 { … … 979 995 } 980 996 break; 997 #endif 981 998 case CSSSelector::PseudoClassLink: 982 999 linkMatchType &= ~SelectorChecker::MatchVisited; -
trunk/Source/WebCore/cssjit/SelectorCompiler.cpp
r174259 r174535 626 626 return FunctionType::CannotMatchAnything; 627 627 628 #if ENABLE(CSS_SELECTORS_LEVEL4) 629 if (selectorList->first()->tagHistory() || CSSSelectorList::next(selectorList->first())) 630 return FunctionType::CannotCompile; 631 #endif 632 628 633 SelectorFragmentList notFragments; 629 634 FunctionType functionType = constructFragments(selectorList->first(), selectorContext, notFragments, FragmentsLevel::InFunctionalPseudoType, positionInRootFragments);
Note:
See TracChangeset
for help on using the changeset viewer.