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

Unified Diff: LayoutTests/fast/dom/fragment-activation-focuses-target-expected.txt

Issue 637323002: Focus unfocusable node upon reference fragment navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove "focusable node" from test expectation Created 6 years, 2 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/fragment-activation-focuses-target.html ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/fragment-activation-focuses-target-expected.txt
diff --git a/LayoutTests/fast/dom/fragment-activation-focuses-target-expected.txt b/LayoutTests/fast/dom/fragment-activation-focuses-target-expected.txt
index 4a1c44cf1bbf70fc8d3b6f63c6ca842b419ccadf..1d48c4dc9bd88c9fdff7fc99180cf835e9b6d9cf 100644
--- a/LayoutTests/fast/dom/fragment-activation-focuses-target-expected.txt
+++ b/LayoutTests/fast/dom/fragment-activation-focuses-target-expected.txt
@@ -11,13 +11,22 @@ Move focus back to the link and verify.
PASS document.activeElement is link1
Send an enter key event which should also trigger focus to move to the fragment.
PASS document.activeElement is document.getElementById('fragment1')
-Activate a link that does not have a focusable fragment and verify focus does not move.
-PASS document.activeElement is link2
+Activate a link that does not have a focusable fragment and verify that the currently focused element is unfocused.
PASS document.activeElement is link2
+PASS document.activeElement is document.body
+Activate a link that does not refer to an existing fragment and verify that the currently focused element remains focused.
+PASS document.activeElement is link3
+PASS document.activeElement is link3
+Activate a link to #top and verify that the link remains focused
+PASS document.activeElement is link4
+PASS document.activeElement is link4
+Activate a link to # and verify that the link remains focused
+PASS document.activeElement is link5
+PASS document.activeElement is link5
PASS successfullyParsed is true
TEST COMPLETE
-link1 link2
+link1 link2 link3 link4 link5
fragment1
fragment2
« no previous file with comments | « LayoutTests/fast/dom/fragment-activation-focuses-target.html ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698