| OLD | NEW |
| 1 CONSOLE WARNING: ::shadow pseudo-element is deprecated. See https://www.chromest
atus.com/features/6750456638341120 for more details. | 1 CONSOLE WARNING: ::shadow pseudo-element is deprecated. See https://www.chromest
atus.com/features/6750456638341120 for more details. |
| 2 CONSOLE WARNING: /deep/ combinator is deprecated. See https://www.chromestatus.c
om/features/6750456638341120 for more details. | 2 CONSOLE WARNING: /deep/ combinator is deprecated. See https://www.chromestatus.c
om/features/6750456638341120 for more details. |
| 3 crbug.com/337616: test for querySelectorAll with ::shadow and /deep/ | 3 crbug.com/337616: test for querySelectorAll with ::shadow and /deep/ |
| 4 | 4 |
| 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 6 | 6 |
| 7 | 7 |
| 8 PASS document.querySelectorAll("#foo-host::shadow span").length is 3 | 8 PASS document.querySelectorAll("#foo-host::shadow span").length is 3 |
| 9 PASS document.querySelectorAll("#foo-host::shadow span")[0].id is "not-top" | 9 PASS document.querySelectorAll("#foo-host::shadow span")[0].id is "not-top" |
| 10 PASS document.querySelectorAll("#foo-host::shadow span")[1].id is "top" | 10 PASS document.querySelectorAll("#foo-host::shadow span")[1].id is "top" |
| 11 PASS document.querySelectorAll("#foo-host::shadow span")[2].id is "inner-host" | 11 PASS document.querySelectorAll("#foo-host::shadow span")[2].id is "inner-host" |
| 12 PASS document.querySelectorAll("#foo-host /deep/ span").length is 5 | 12 PASS document.querySelectorAll("#foo-host /deep/ span").length is 5 |
| 13 PASS document.querySelectorAll("#foo-host /deep/ span")[0].id is "not-top" | 13 PASS document.querySelectorAll("#foo-host /deep/ span")[0].id is "not-top" |
| 14 PASS document.querySelectorAll("#foo-host /deep/ span")[1].id is "top" | 14 PASS document.querySelectorAll("#foo-host /deep/ span")[1].id is "top" |
| 15 PASS document.querySelectorAll("#foo-host /deep/ span")[2].id is "nested" | 15 PASS document.querySelectorAll("#foo-host /deep/ span")[2].id is "nested" |
| 16 PASS document.querySelectorAll("#foo-host /deep/ span")[3].id is "inner-host" | 16 PASS document.querySelectorAll("#foo-host /deep/ span")[3].id is "inner-host" |
| 17 PASS document.querySelectorAll("#foo-host /deep/ span")[4].id is "outer-host" | 17 PASS document.querySelectorAll("#foo-host /deep/ span")[4].id is "outer-host" |
| 18 PASS document.querySelector("::before, #foo-host /deep/ span").id is "not-top" |
| 18 PASS fooShadowRoot.querySelectorAll("*::shadow span").length is 1 | 19 PASS fooShadowRoot.querySelectorAll("*::shadow span").length is 1 |
| 19 PASS fooShadowRoot.querySelectorAll("*::shadow span")[0].id is "nested" | 20 PASS fooShadowRoot.querySelectorAll("*::shadow span")[0].id is "nested" |
| 20 PASS fooShadowRoot.querySelectorAll("* /deep/ span").length is 3 | 21 PASS fooShadowRoot.querySelectorAll("* /deep/ span").length is 3 |
| 21 PASS fooShadowRoot.querySelectorAll("* /deep/ span")[0].id is "not-top" | 22 PASS fooShadowRoot.querySelectorAll("* /deep/ span")[0].id is "not-top" |
| 22 PASS fooShadowRoot.querySelectorAll("* /deep/ span")[1].id is "nested" | 23 PASS fooShadowRoot.querySelectorAll("* /deep/ span")[1].id is "nested" |
| 23 PASS fooShadowRoot.querySelectorAll("* /deep/ span")[2].id is "inner-host" | 24 PASS fooShadowRoot.querySelectorAll("* /deep/ span")[2].id is "inner-host" |
| 24 PASS fooShadowRoot.querySelectorAll("#foo-host /deep/ span").length is 0 | 25 PASS fooShadowRoot.querySelectorAll("#foo-host /deep/ span").length is 0 |
| 25 PASS fooShadowRoot.querySelectorAll(":host(div#foo-host)::shadow span").length i
s 3 | 26 PASS fooShadowRoot.querySelectorAll(":host(div#foo-host)::shadow span").length i
s 3 |
| 26 PASS fooShadowRoot.querySelectorAll(":host(div#foo-host)::shadow span")[0].id is
"not-top" | 27 PASS fooShadowRoot.querySelectorAll(":host(div#foo-host)::shadow span")[0].id is
"not-top" |
| 27 PASS fooShadowRoot.querySelectorAll(":host(div#foo-host)::shadow span")[1].id is
"top" | 28 PASS fooShadowRoot.querySelectorAll(":host(div#foo-host)::shadow span")[1].id is
"top" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 51 PASS fooHost.querySelectorAll("::shadow span")[1].id is "top" | 52 PASS fooHost.querySelectorAll("::shadow span")[1].id is "top" |
| 52 PASS fooHost.querySelectorAll("::shadow span")[2].id is "inner-host" | 53 PASS fooHost.querySelectorAll("::shadow span")[2].id is "inner-host" |
| 53 PASS document.querySelectorAll("::shadow span").length is 3 | 54 PASS document.querySelectorAll("::shadow span").length is 3 |
| 54 PASS document.querySelectorAll("::shadow span")[0].id is "not-top" | 55 PASS document.querySelectorAll("::shadow span")[0].id is "not-top" |
| 55 PASS document.querySelectorAll("::shadow span")[1].id is "top" | 56 PASS document.querySelectorAll("::shadow span")[1].id is "top" |
| 56 PASS document.querySelectorAll("::shadow span")[2].id is "inner-host" | 57 PASS document.querySelectorAll("::shadow span")[2].id is "inner-host" |
| 57 PASS successfullyParsed is true | 58 PASS successfullyParsed is true |
| 58 | 59 |
| 59 TEST COMPLETE | 60 TEST COMPLETE |
| 60 | 61 |
| OLD | NEW |