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

Side by Side Diff: LayoutTests/fast/dom/shadow/querySelector-for-useragent-shadowroot-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: /deep/ combinator is deprecated. See https://www.chromestatus.c om/features/6750456638341120 for more details.
1 2
2 3
3 crbug.com/337616: test for querySelectorAll with ::shadow and /deep/ 4 crbug.com/337616: test for querySelectorAll with ::shadow and /deep/
4 5
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6 7
7 8
8 PASS document.querySelectorAll("form /deep/ *").length is 1 9 PASS document.querySelectorAll("form /deep/ *").length is 1
9 PASS document.querySelectorAll("form /deep/ *")[0].id is "input" 10 PASS document.querySelectorAll("form /deep/ *")[0].id is "input"
10 PASS document.querySelectorAll("form::shadow *").length is 0 11 PASS document.querySelectorAll("form::shadow *").length is 0
11 PASS document.querySelectorAll("input /deep/ *").length is 0 12 PASS document.querySelectorAll("input /deep/ *").length is 0
12 PASS document.querySelectorAll("input::shadow *").length is 0 13 PASS document.querySelectorAll("input::shadow *").length is 0
13 PASS document.querySelectorAll("details /deep/ *").length is 2 14 PASS document.querySelectorAll("details /deep/ *").length is 2
14 PASS document.querySelectorAll("details /deep/ *")[0].id is "summary" 15 PASS document.querySelectorAll("details /deep/ *")[0].id is "summary"
15 PASS document.querySelectorAll("details /deep/ *")[1].id is "p" 16 PASS document.querySelectorAll("details /deep/ *")[1].id is "p"
16 PASS document.querySelectorAll("details::shadow *").length is 0 17 PASS document.querySelectorAll("details::shadow *").length is 0
17 PASS document.querySelectorAll("summary /deep/ *").length is 0 18 PASS document.querySelectorAll("summary /deep/ *").length is 0
18 PASS document.querySelectorAll("summary::shadow *").length is 0 19 PASS document.querySelectorAll("summary::shadow *").length is 0
19 PASS document.querySelectorAll("meter /deep/ *").length is 0 20 PASS document.querySelectorAll("meter /deep/ *").length is 0
20 PASS document.querySelectorAll("meter::shadow *").length is 0 21 PASS document.querySelectorAll("meter::shadow *").length is 0
21 PASS document.querySelectorAll("progress /deep/ *").length is 0 22 PASS document.querySelectorAll("progress /deep/ *").length is 0
22 PASS document.querySelectorAll("progress::shadow *").length is 0 23 PASS document.querySelectorAll("progress::shadow *").length is 0
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