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

Unified Diff: LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling-expected.txt

Issue 1177673005: Implement ShadowRoot.delegatesFocus 4/4 (match CSS :focus for shadow host) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix for comments 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling-expected.txt
diff --git a/LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling-expected.txt b/LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86d511b3c6c24abdd38175bcd508b6df93d1d55c
--- /dev/null
+++ b/LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling-expected.txt
@@ -0,0 +1,41 @@
+crbug/474687 :focus style should properly be applied to shadow hosts.
+PASS document.activeElement.id is "XMenu1"
+PASS backgroundColorOf('XMenu1') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu2') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu3') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu4') is "rgb(170, 170, 170)"
+PASS document.activeElement.id is "XMenu2"
+PASS backgroundColorOf('XMenu1') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu2') is "rgb(204, 204, 204)"
+PASS backgroundColorOf('XMenu3') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu4') is "rgb(170, 170, 170)"
+PASS document.activeElement.id is "XMenu3"
+PASS backgroundColorOf('XMenu1') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu2') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu3') is "rgb(204, 204, 204)"
+PASS backgroundColorOf('XMenu4') is "rgb(170, 170, 170)"
+PASS document.activeElement.id is "XMenu4"
+PASS backgroundColorOf('XMenu1') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu2') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu3') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu4') is "rgb(204, 204, 204)"
+PASS document.activeElement.id is "XMenu3"
+PASS backgroundColorOf('XMenu1') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu2') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu3') is "rgb(204, 204, 204)"
+PASS backgroundColorOf('XMenu4') is "rgb(170, 170, 170)"
+PASS document.activeElement.id is "XMenu2"
+PASS backgroundColorOf('XMenu1') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu2') is "rgb(204, 204, 204)"
+PASS backgroundColorOf('XMenu3') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu4') is "rgb(170, 170, 170)"
+PASS document.activeElement.id is "XMenu1"
+PASS backgroundColorOf('XMenu1') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu2') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu3') is "rgb(170, 170, 170)"
+PASS backgroundColorOf('XMenu4') is "rgb(170, 170, 170)"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
+

Powered by Google App Engine
This is Rietveld 408576698