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

Side by Side Diff: LayoutTests/fast/dom/shadow/closed-mode-deep-combinator-and-shadow-pseudo-expected.txt

Issue 1270313002: Handle closed mode shadow for /deep/ and ::shadow selectors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add a layout test for 2 /deep/s Created 5 years, 4 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
(Empty)
1 CONSOLE WARNING: /deep/ combinator is deprecated. See https://www.chromestatus.c om/features/6750456638341120 for more details.
2 CONSOLE WARNING: ::shadow pseudo-element is deprecated. See https://www.chromest atus.com/features/6750456638341120 for more details.
3 (1/6) /deep/ style rule on top-level document.
4 PASS backgroundColorOf('host_open_open') is "rgba(0, 0, 0, 0)"
5 PASS backgroundColorOf('host_open_open/div1') is "rgb(0, 0, 255)"
6 PASS backgroundColorOf('host_open_open/div1/div2') is "rgb(0, 0, 255)"
7 PASS backgroundColorOf('host_open_open/div1b') is "rgb(0, 0, 255)"
8 PASS backgroundColorOf('host_open_closed') is "rgba(0, 0, 0, 0)"
9 PASS backgroundColorOf('host_open_closed/div3') is "rgb(0, 0, 255)"
10 PASS backgroundColorOf('host_open_closed/div3/div4') is "rgba(0, 0, 0, 0)"
11 PASS backgroundColorOf('host_open_closed/div3b') is "rgb(0, 0, 255)"
12 PASS backgroundColorOf('host_closed_open') is "rgba(0, 0, 0, 0)"
13 PASS backgroundColorOf('host_closed_open/div5') is "rgba(0, 0, 0, 0)"
14 PASS backgroundColorOf('host_closed_open/div5/div6') is "rgba(0, 0, 0, 0)"
15 PASS backgroundColorOf('host_closed_open/div5b') is "rgba(0, 0, 0, 0)"
16 PASS backgroundColorOf('host_closed_closed') is "rgba(0, 0, 0, 0)"
17 PASS backgroundColorOf('host_closed_closed/div7') is "rgba(0, 0, 0, 0)"
18 PASS backgroundColorOf('host_closed_closed/div7/div8') is "rgba(0, 0, 0, 0)"
19 PASS backgroundColorOf('host_closed_closed/div7b') is "rgba(0, 0, 0, 0)"
20 (2/6) ::shadow style rule on top-level document.
21 PASS backgroundColorOf('host_open_open') is "rgba(0, 0, 0, 0)"
22 PASS backgroundColorOf('host_open_open/div1') is "rgb(0, 128, 0)"
23 PASS backgroundColorOf('host_open_open/div1/div2') is "rgba(0, 0, 0, 0)"
24 PASS backgroundColorOf('host_open_open/div1b') is "rgb(0, 128, 0)"
25 PASS backgroundColorOf('host_open_closed') is "rgba(0, 0, 0, 0)"
26 PASS backgroundColorOf('host_open_closed/div3') is "rgb(0, 128, 0)"
27 PASS backgroundColorOf('host_open_closed/div3/div4') is "rgba(0, 0, 0, 0)"
28 PASS backgroundColorOf('host_open_closed/div3b') is "rgb(0, 128, 0)"
29 PASS backgroundColorOf('host_closed_open') is "rgba(0, 0, 0, 0)"
30 PASS backgroundColorOf('host_closed_open/div5') is "rgba(0, 0, 0, 0)"
31 PASS backgroundColorOf('host_closed_open/div5/div6') is "rgba(0, 0, 0, 0)"
32 PASS backgroundColorOf('host_closed_open/div5b') is "rgba(0, 0, 0, 0)"
33 PASS backgroundColorOf('host_closed_closed') is "rgba(0, 0, 0, 0)"
34 PASS backgroundColorOf('host_closed_closed/div7') is "rgba(0, 0, 0, 0)"
35 PASS backgroundColorOf('host_closed_closed/div7/div8') is "rgba(0, 0, 0, 0)"
36 PASS backgroundColorOf('host_closed_closed/div7b') is "rgba(0, 0, 0, 0)"
37 (3/6) /deep/ style on shadow tree.
38 PASS backgroundColorOf('host_open_open/div1') is "rgba(0, 0, 0, 0)"
39 PASS backgroundColorOf('host_open_open/div1/div2') is "rgb(0, 0, 255)"
40 PASS backgroundColorOf('host_open_open/div1b') is "rgb(0, 0, 255)"
41 PASS backgroundColorOf('host_open_closed/div3') is "rgba(0, 0, 0, 0)"
42 PASS backgroundColorOf('host_open_closed/div3/div4') is "rgba(0, 0, 0, 0)"
43 PASS backgroundColorOf('host_open_closed/div3b') is "rgb(0, 0, 255)"
44 PASS backgroundColorOf('host_closed_open/div5') is "rgba(0, 0, 0, 0)"
45 PASS backgroundColorOf('host_closed_open/div5/div6') is "rgb(0, 0, 255)"
46 PASS backgroundColorOf('host_closed_open/div5b') is "rgb(0, 0, 255)"
47 PASS backgroundColorOf('host_closed_closed/div7') is "rgba(0, 0, 0, 0)"
48 PASS backgroundColorOf('host_closed_closed/div7/div8') is "rgba(0, 0, 0, 0)"
49 PASS backgroundColorOf('host_closed_closed/div7b') is "rgb(0, 0, 255)"
50 (4/6) ::shadow style on shadow tree.
51 PASS backgroundColorOf('host_open_open/div1') is "rgba(0, 0, 0, 0)"
52 PASS backgroundColorOf('host_open_open/div1/div2') is "rgb(0, 128, 0)"
53 PASS backgroundColorOf('host_open_open/div1b') is "rgba(0, 0, 0, 0)"
54 PASS backgroundColorOf('host_open_closed/div3') is "rgba(0, 0, 0, 0)"
55 PASS backgroundColorOf('host_open_closed/div3/div4') is "rgba(0, 0, 0, 0)"
56 PASS backgroundColorOf('host_open_closed/div3b') is "rgba(0, 0, 0, 0)"
57 PASS backgroundColorOf('host_closed_open/div5') is "rgba(0, 0, 0, 0)"
58 PASS backgroundColorOf('host_closed_open/div5/div6') is "rgb(0, 128, 0)"
59 PASS backgroundColorOf('host_closed_open/div5b') is "rgba(0, 0, 0, 0)"
60 PASS backgroundColorOf('host_closed_closed/div7') is "rgba(0, 0, 0, 0)"
61 PASS backgroundColorOf('host_closed_closed/div7/div8') is "rgba(0, 0, 0, 0)"
62 PASS backgroundColorOf('host_closed_closed/div7b') is "rgba(0, 0, 0, 0)"
63 (5/6) /deep/ selector in querySelectorAll()
64 PASS host_open_open.querySelectorAll("div /deep/ div").length is 3
65 PASS host_open_closed.querySelectorAll("div /deep/ div").length is 2
66 PASS host_closed_open.querySelectorAll("div /deep/ div").length is 0
67 PASS host_closed_closed.querySelectorAll("div /deep/ div").length is 0
68 PASS div1.querySelectorAll("div /deep/ div").length is 2
69 PASS div3.querySelectorAll("div /deep/ div").length is 1
70 PASS div5.querySelectorAll("div /deep/ div").length is 2
71 PASS div7.querySelectorAll("div /deep/ div").length is 1
72 (6/6) ::shadow selector in querySelectorAll()
73 PASS host_open_open.querySelectorAll("div::shadow div").length is 2
74 PASS host_open_closed.querySelectorAll("div::shadow div").length is 2
75 PASS host_closed_open.querySelectorAll("div::shadow div").length is 0
76 PASS host_closed_closed.querySelectorAll("div::shadow div").length is 0
77 PASS div1.querySelectorAll("div::shadow div").length is 1
78 PASS div3.querySelectorAll("div::shadow div").length is 0
79 PASS div5.querySelectorAll("div::shadow div").length is 1
80 PASS div7.querySelectorAll("div::shadow div").length is 0
81 PASS successfullyParsed is true
82
83 TEST COMPLETE
84
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698