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

Unified 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: Rename function as suggested for land 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/shadow/closed-mode-deep-combinator-and-shadow-pseudo-expected.txt
diff --git a/LayoutTests/fast/dom/shadow/closed-mode-deep-combinator-and-shadow-pseudo-expected.txt b/LayoutTests/fast/dom/shadow/closed-mode-deep-combinator-and-shadow-pseudo-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e430cf1d37d05158f1c29037748c0b8a31438ec
--- /dev/null
+++ b/LayoutTests/fast/dom/shadow/closed-mode-deep-combinator-and-shadow-pseudo-expected.txt
@@ -0,0 +1,101 @@
+CONSOLE WARNING: /deep/ combinator is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details.
+CONSOLE WARNING: ::shadow pseudo-element is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details.
+(1/6) /deep/ style rule on top-level document.
+PASS backgroundColorOf('host_open_open') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_open_open/div1') is "rgb(0, 0, 255)"
+PASS backgroundColorOf('host_open_open/div1/div2') is "rgb(0, 0, 255)"
+PASS backgroundColorOf('host_open_open/div1b') is "rgb(0, 0, 255)"
+PASS backgroundColorOf('host_open_closed') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_open_closed/div3') is "rgb(0, 0, 255)"
+PASS backgroundColorOf('host_open_closed/div3/div4') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_open_closed/div3b') is "rgb(0, 0, 255)"
+PASS backgroundColorOf('host_closed_open') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_open/div5') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_open/div5/div6') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_open/div5b') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_closed') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_closed/div7') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_closed/div7/div8') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_closed/div7b') is "rgba(0, 0, 0, 0)"
+(2/6) ::shadow style rule on top-level document.
+PASS backgroundColorOf('host_open_open') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_open_open/div1') is "rgb(0, 128, 0)"
+PASS backgroundColorOf('host_open_open/div1/div2') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_open_open/div1b') is "rgb(0, 128, 0)"
+PASS backgroundColorOf('host_open_closed') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_open_closed/div3') is "rgb(0, 128, 0)"
+PASS backgroundColorOf('host_open_closed/div3/div4') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_open_closed/div3b') is "rgb(0, 128, 0)"
+PASS backgroundColorOf('host_closed_open') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_open/div5') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_open/div5/div6') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_open/div5b') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_closed') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_closed/div7') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_closed/div7/div8') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_closed/div7b') is "rgba(0, 0, 0, 0)"
+(3/6) /deep/ style on shadow tree.
+PASS backgroundColorOf('host_open_open/div1') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_open_open/div1/div2') is "rgb(0, 0, 255)"
+PASS backgroundColorOf('host_open_open/div1b') is "rgb(0, 0, 255)"
+PASS backgroundColorOf('host_open_closed/div3') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_open_closed/div3/div4') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_open_closed/div3b') is "rgb(0, 0, 255)"
+PASS backgroundColorOf('host_closed_open/div5') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_open/div5/div6') is "rgb(0, 0, 255)"
+PASS backgroundColorOf('host_closed_open/div5b') is "rgb(0, 0, 255)"
+PASS backgroundColorOf('host_closed_closed/div7') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_closed/div7/div8') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_closed/div7b') is "rgb(0, 0, 255)"
+(4/6) ::shadow style on shadow tree.
+PASS backgroundColorOf('host_open_open/div1') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_open_open/div1/div2') is "rgb(0, 128, 0)"
+PASS backgroundColorOf('host_open_open/div1b') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_open_closed/div3') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_open_closed/div3/div4') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_open_closed/div3b') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_open/div5') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_open/div5/div6') is "rgb(0, 128, 0)"
+PASS backgroundColorOf('host_closed_open/div5b') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_closed/div7') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_closed/div7/div8') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host_closed_closed/div7b') is "rgba(0, 0, 0, 0)"
+(5/6) /deep/ selector in querySelectorAll()
+PASS results.length is 3
+PASS node.id is "div1"
+PASS node.id is "div2"
+PASS node.id is "div1b"
+PASS results.length is 2
+PASS node.id is "div3"
+PASS node.id is "div3b"
+PASS host_closed_open.querySelectorAll("div /deep/ div").length is 0
+PASS host_closed_closed.querySelectorAll("div /deep/ div").length is 0
+PASS results.length is 2
+PASS node.id is "div2"
+PASS node.id is "div1b"
+PASS results.length is 1
+PASS node.id is "div3b"
+PASS results.length is 2
+PASS node.id is "div6"
+PASS node.id is "div5b"
+PASS results.length is 1
+PASS node.id is "div7b"
+(6/6) ::shadow selector in querySelectorAll()
+PASS results.length is 2
+PASS node.id is "div1"
+PASS node.id is "div1b"
+PASS results.length is 2
+PASS node.id is "div3"
+PASS node.id is "div3b"
+PASS host_closed_open.querySelectorAll("div::shadow div").length is 0
+PASS host_closed_closed.querySelectorAll("div::shadow div").length is 0
+PASS results.length is 1
+PASS node.id is "div2"
+PASS div3.querySelectorAll("div::shadow div").length is 0
+PASS results.length is 1
+PASS node.id is "div6"
+PASS div7.querySelectorAll("div::shadow div").length is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698