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" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 PASS barShadowRoot.querySelectorAll(":host(div#bar-host) /deep/ span").length is
1 | 43 PASS barShadowRoot.querySelectorAll(":host(div#bar-host) /deep/ span").length is
1 |
44 PASS barShadowRoot.querySelectorAll(":host(div#bar-host) /deep/ span")[0].id is
"nested" | 44 PASS barShadowRoot.querySelectorAll(":host(div#bar-host) /deep/ span")[0].id is
"nested" |
45 PASS barShadowRoot.querySelectorAll(":host-context(div#foo-host)::shadow span").
length is 1 | 45 PASS barShadowRoot.querySelectorAll(":host-context(div#foo-host)::shadow span").
length is 1 |
46 PASS barShadowRoot.querySelectorAll(":host-context(div#foo-host)::shadow span")[
0].id is "nested" | 46 PASS barShadowRoot.querySelectorAll(":host-context(div#foo-host)::shadow span")[
0].id is "nested" |
47 PASS barShadowRoot.querySelectorAll(":host-context(div#foo-host) /deep/ span").l
ength is 1 | 47 PASS barShadowRoot.querySelectorAll(":host-context(div#foo-host) /deep/ span").l
ength is 1 |
48 PASS barShadowRoot.querySelectorAll(":host-context(div#foo-host) /deep/ span")[0
].id is "nested" | 48 PASS barShadowRoot.querySelectorAll(":host-context(div#foo-host) /deep/ span")[0
].id is "nested" |
49 PASS fooHost.querySelectorAll("::shadow span").length is 3 | 49 PASS fooHost.querySelectorAll("::shadow span").length is 3 |
50 PASS fooHost.querySelectorAll("::shadow span")[0].id is "not-top" | 50 PASS fooHost.querySelectorAll("::shadow span")[0].id is "not-top" |
51 PASS fooHost.querySelectorAll("::shadow span")[1].id is "top" | 51 PASS fooHost.querySelectorAll("::shadow span")[1].id is "top" |
52 PASS fooHost.querySelectorAll("::shadow span")[2].id is "inner-host" | 52 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")[0].id is "not-top" | |
55 PASS document.querySelectorAll("::shadow span")[1].id is "top" | |
56 PASS document.querySelectorAll("::shadow span")[2].id is "inner-host" | |
57 PASS successfullyParsed is true | 53 PASS successfullyParsed is true |
58 | 54 |
59 TEST COMPLETE | 55 TEST COMPLETE |
60 | 56 |
OLD | NEW |