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