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

Side by Side Diff: LayoutTests/fast/dom/shadow/querySelector-for-multiple-shadowroots-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: Calling Element.createShadowRoot() for an element which already hosts a shadow root is deprecated. See https://www.chromestatus.com/features/46 68884095336448 for more details. 1 CONSOLE WARNING: Calling Element.createShadowRoot() for an element which already hosts a shadow root is deprecated. See https://www.chromestatus.com/features/46 68884095336448 for more details.
2 CONSOLE WARNING: ::shadow pseudo-element is deprecated. See https://www.chromest atus.com/features/6750456638341120 for more details.
2 crbug.com/337616: test for querySelectorAll with ::shadow and /deep/ 3 crbug.com/337616: test for querySelectorAll with ::shadow and /deep/
3 4
4 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 ".
5 6
6 7
7 PASS document.querySelectorAll("#foo-host::shadow span").length is 6 8 PASS document.querySelectorAll("#foo-host::shadow span").length is 6
8 PASS document.querySelectorAll("#foo-host::shadow span")[0].id is "not-top1" 9 PASS document.querySelectorAll("#foo-host::shadow span")[0].id is "not-top1"
9 PASS document.querySelectorAll("#foo-host::shadow span")[1].id is "top1" 10 PASS document.querySelectorAll("#foo-host::shadow span")[1].id is "top1"
10 PASS document.querySelectorAll("#foo-host::shadow span")[2].id is "not-top2" 11 PASS document.querySelectorAll("#foo-host::shadow span")[2].id is "not-top2"
11 PASS document.querySelectorAll("#foo-host::shadow span")[3].id is "top2" 12 PASS document.querySelectorAll("#foo-host::shadow span")[3].id is "top2"
12 PASS document.querySelectorAll("#foo-host::shadow span")[4].id is "not-top3" 13 PASS document.querySelectorAll("#foo-host::shadow span")[4].id is "not-top3"
13 PASS document.querySelectorAll("#foo-host::shadow span")[5].id is "top3" 14 PASS document.querySelectorAll("#foo-host::shadow span")[5].id is "top3"
14 PASS shadowRoot1.querySelectorAll(":host::shadow span").length is 2 15 PASS shadowRoot1.querySelectorAll(":host::shadow span").length is 2
15 PASS shadowRoot1.querySelectorAll(":host::shadow span")[0].id is "not-top1" 16 PASS shadowRoot1.querySelectorAll(":host::shadow span")[0].id is "not-top1"
16 PASS shadowRoot1.querySelectorAll(":host::shadow span")[1].id is "top1" 17 PASS shadowRoot1.querySelectorAll(":host::shadow span")[1].id is "top1"
17 PASS shadowRoot2.querySelectorAll(":host::shadow span").length is 2 18 PASS shadowRoot2.querySelectorAll(":host::shadow span").length is 2
18 PASS shadowRoot2.querySelectorAll(":host::shadow span")[0].id is "not-top2" 19 PASS shadowRoot2.querySelectorAll(":host::shadow span")[0].id is "not-top2"
19 PASS shadowRoot2.querySelectorAll(":host::shadow span")[1].id is "top2" 20 PASS shadowRoot2.querySelectorAll(":host::shadow span")[1].id is "top2"
20 PASS shadowRoot3.querySelectorAll(":host::shadow span").length is 2 21 PASS shadowRoot3.querySelectorAll(":host::shadow span").length is 2
21 PASS shadowRoot3.querySelectorAll(":host::shadow span")[0].id is "not-top3" 22 PASS shadowRoot3.querySelectorAll(":host::shadow span")[0].id is "not-top3"
22 PASS shadowRoot3.querySelectorAll(":host::shadow span")[1].id is "top3" 23 PASS shadowRoot3.querySelectorAll(":host::shadow span")[1].id is "top3"
23 PASS successfullyParsed is true 24 PASS successfullyParsed is true
24 25
25 TEST COMPLETE 26 TEST COMPLETE
26 27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698