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

Unified Diff: LayoutTests/fast/dom/shadow/focus-with-dom-mutation-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
« no previous file with comments | « LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html ('k') | Source/core/dom/ContainerNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/focus-with-dom-mutation-expected.txt
diff --git a/LayoutTests/fast/dom/shadow/focus-with-dom-mutation-expected.txt b/LayoutTests/fast/dom/shadow/focus-with-dom-mutation-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff866d6e36010f2e91ba57258e1a591e2d107c07
--- /dev/null
+++ b/LayoutTests/fast/dom/shadow/focus-with-dom-mutation-expected.txt
@@ -0,0 +1,19 @@
+Test if :focus matching state of shadow host is properly handled in case of DOM mutation.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+(1/2) DOM mutation across shadow boundary with delegatesFocus=false
+PASS backgroundColorOf('host') is "rgb(255, 255, 255)"
+PASS backgroundColorOf('host') is "rgb(255, 255, 255)"
+PASS backgroundColorOf('host') is "rgb(255, 255, 255)"
+PASS backgroundColorOf('host') is "rgb(255, 255, 255)"
+(2/2) DOM mutation across shadow boundary with delegatesFocus=true
+PASS backgroundColorOf('host') is "rgb(255, 255, 255)"
+PASS backgroundColorOf('host') is "rgb(0, 128, 0)"
+PASS backgroundColorOf('host') is "rgb(255, 255, 255)"
+PASS backgroundColorOf('host') is "rgb(255, 255, 255)"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html ('k') | Source/core/dom/ContainerNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698