blob: 91c2435f7b0b8c6b11917267cac2ff3f654eb712 [file] [log] [blame]
utatane.tea@gmail.com951864d2014-07-25 06:58:53 +00001This test makes sure that querySelector with pseudo-element inside functional pseudo class :-webkit-any doesn't match anything.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6PASS document.querySelectorAll("#test :-webkit-any(p)").length is 1
7PASS document.querySelector("#test :-webkit-any(p)") is target
8PASS document.querySelectorAll("#test :-webkit-any(p.ng)").length is 1
9PASS document.querySelector("#test :-webkit-any(p.ng)") is target
10PASS document.querySelectorAll("#test div :-webkit-any(p)").length is 1
11PASS document.querySelector("#test div :-webkit-any(p)") is target
12PASS document.querySelectorAll("#test div :-webkit-any(p.ng)").length is 1
13PASS document.querySelector("#test div :-webkit-any(p.ng)") is target
14PASS document.querySelectorAll("#test :-webkit-any(p:first-line)").length is 0
15PASS document.querySelector("#test :-webkit-any(p:first-line)") is null
utatane.tea@gmail.com951864d2014-07-25 06:58:53 +000016PASS document.querySelectorAll("#test :-webkit-any(div:first-line) p").length is 0
17PASS document.querySelector("#test :-webkit-any(div:first-line) p") is null
18PASS document.querySelectorAll("#test :-webkit-any(div:first-line) p.ng").length is 0
19PASS document.querySelector("#test :-webkit-any(div:first-line) p.ng") is null
20PASS successfullyParsed is true
21
22TEST COMPLETE
23