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

Side by Side Diff: LayoutTests/fast/dom/shadow/querySelector-for-multiple-shadowroots-expected.txt

Issue 210813002: Rename /shadow-deep/ combinator to /deep/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 crbug.com/337616: test for querySelectorAll with /shadow/ and /shadow-deep/ 1 crbug.com/337616: test for querySelectorAll with /shadow/ and /deep/
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS document.querySelectorAll("#foo-host /shadow/ span").length is 6 6 PASS document.querySelectorAll("#foo-host /shadow/ span").length is 6
7 PASS document.querySelectorAll("#foo-host /shadow/ span")[0].id is "not-top1" 7 PASS document.querySelectorAll("#foo-host /shadow/ span")[0].id is "not-top1"
8 PASS document.querySelectorAll("#foo-host /shadow/ span")[1].id is "top1" 8 PASS document.querySelectorAll("#foo-host /shadow/ span")[1].id is "top1"
9 PASS document.querySelectorAll("#foo-host /shadow/ span")[2].id is "not-top2" 9 PASS document.querySelectorAll("#foo-host /shadow/ span")[2].id is "not-top2"
10 PASS document.querySelectorAll("#foo-host /shadow/ span")[3].id is "top2" 10 PASS document.querySelectorAll("#foo-host /shadow/ span")[3].id is "top2"
11 PASS document.querySelectorAll("#foo-host /shadow/ span")[4].id is "not-top3" 11 PASS document.querySelectorAll("#foo-host /shadow/ span")[4].id is "not-top3"
12 PASS document.querySelectorAll("#foo-host /shadow/ span")[5].id is "top3" 12 PASS document.querySelectorAll("#foo-host /shadow/ span")[5].id is "top3"
13 PASS shadowRoot1.querySelectorAll(":host /shadow/ span").length is 2 13 PASS shadowRoot1.querySelectorAll(":host /shadow/ span").length is 2
14 PASS shadowRoot1.querySelectorAll(":host /shadow/ span")[0].id is "not-top1" 14 PASS shadowRoot1.querySelectorAll(":host /shadow/ span")[0].id is "not-top1"
15 PASS shadowRoot1.querySelectorAll(":host /shadow/ span")[1].id is "top1" 15 PASS shadowRoot1.querySelectorAll(":host /shadow/ span")[1].id is "top1"
16 PASS shadowRoot2.querySelectorAll(":host /shadow/ span").length is 2 16 PASS shadowRoot2.querySelectorAll(":host /shadow/ span").length is 2
17 PASS shadowRoot2.querySelectorAll(":host /shadow/ span")[0].id is "not-top2" 17 PASS shadowRoot2.querySelectorAll(":host /shadow/ span")[0].id is "not-top2"
18 PASS shadowRoot2.querySelectorAll(":host /shadow/ span")[1].id is "top2" 18 PASS shadowRoot2.querySelectorAll(":host /shadow/ span")[1].id is "top2"
19 PASS shadowRoot3.querySelectorAll(":host /shadow/ span").length is 2 19 PASS shadowRoot3.querySelectorAll(":host /shadow/ span").length is 2
20 PASS shadowRoot3.querySelectorAll(":host /shadow/ span")[0].id is "not-top3" 20 PASS shadowRoot3.querySelectorAll(":host /shadow/ span")[0].id is "not-top3"
21 PASS shadowRoot3.querySelectorAll(":host /shadow/ span")[1].id is "top3" 21 PASS shadowRoot3.querySelectorAll(":host /shadow/ span")[1].id is "top3"
22 PASS successfullyParsed is true 22 PASS successfullyParsed is true
23 23
24 TEST COMPLETE 24 TEST COMPLETE
25 25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698