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

Unified Diff: LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host4-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/css-focus-pseudo-match-shadow-host4-expected.txt
diff --git a/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host4-expected.txt b/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host4-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d11d4a70d6f008a2373a1f081d80940230b39fd
--- /dev/null
+++ b/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host4-expected.txt
@@ -0,0 +1,26 @@
+CONSOLE WARNING: Calling Element.createShadowRoot() for an element which already hosts a shadow root is deprecated. See https://www.chromestatus.com/features/4668884095336448 for more details.
+Testing shadow host :focus and distributed nodes
+PASS backgroundColorOf('shadow-host') is "rgb(255, 255, 255)"
+(1/3) shadow host without tabindex
+PASS backgroundColorOf('shadow-host') is "rgb(255, 255, 255)"
+PASS backgroundColorOf('shadow-host') is "rgb(255, 255, 255)"
+PASS backgroundColorOf('shadow-host') is "rgb(0, 128, 0)"
+PASS backgroundColorOf('shadow-host') is "rgb(0, 128, 0)"
+PASS backgroundColorOf('shadow-host') is "rgb(0, 128, 0)"
+(2/3) shadow host with tabindex=-1
+PASS backgroundColorOf('shadow-host') is "rgb(255, 255, 255)"
+PASS backgroundColorOf('shadow-host') is "rgb(255, 255, 255)"
+PASS backgroundColorOf('shadow-host') is "rgb(0, 128, 0)"
+PASS backgroundColorOf('shadow-host') is "rgb(0, 128, 0)"
+PASS backgroundColorOf('shadow-host') is "rgb(0, 128, 0)"
+(3/3) shadow host with tabindex=0
+PASS backgroundColorOf('shadow-host') is "rgb(255, 255, 255)"
+PASS backgroundColorOf('shadow-host') is "rgb(255, 255, 255)"
+PASS backgroundColorOf('shadow-host') is "rgb(0, 128, 0)"
+PASS backgroundColorOf('shadow-host') is "rgb(0, 128, 0)"
+PASS backgroundColorOf('shadow-host') is "rgb(0, 128, 0)"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
+

Powered by Google App Engine
This is Rietveld 408576698