Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep-expected.txt

Issue 1166833002: Add a deprecation message for shadow-piercing descendant combinators and shadow pseudo elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase further Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.
1 crbug.com/337616: test for querySelectorAll with ::shadow and /deep/ 3 crbug.com/337616: test for querySelectorAll with ::shadow and /deep/
2 4
3 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 ".
4 6
5 7
6 PASS document.querySelectorAll("#foo-host::shadow span").length is 3 8 PASS document.querySelectorAll("#foo-host::shadow span").length is 3
7 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"
8 PASS document.querySelectorAll("#foo-host::shadow span")[1].id is "top" 10 PASS document.querySelectorAll("#foo-host::shadow span")[1].id is "top"
9 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"
10 PASS document.querySelectorAll("#foo-host /deep/ span").length is 5 12 PASS document.querySelectorAll("#foo-host /deep/ span").length is 5
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 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
46 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"
47 PASS fooHost.querySelectorAll("::shadow span").length is 3 49 PASS fooHost.querySelectorAll("::shadow span").length is 3
48 PASS fooHost.querySelectorAll("::shadow span")[0].id is "not-top" 50 PASS fooHost.querySelectorAll("::shadow span")[0].id is "not-top"
49 PASS fooHost.querySelectorAll("::shadow span")[1].id is "top" 51 PASS fooHost.querySelectorAll("::shadow span")[1].id is "top"
50 PASS fooHost.querySelectorAll("::shadow span")[2].id is "inner-host" 52 PASS fooHost.querySelectorAll("::shadow span")[2].id is "inner-host"
51 PASS successfullyParsed is true 53 PASS successfullyParsed is true
52 54
53 TEST COMPLETE 55 TEST COMPLETE
54 56
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698