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

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

Issue 701493002: Merge 183455 "Focus unfocusable node upon reference fragment nav..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2171/
Patch Set: Created 6 years, 1 month 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
===================================================================
--- LayoutTests/fast/dom/fragment-activation-focuses-target-expected.txt (revision 184784)
+++ LayoutTests/fast/dom/fragment-activation-focuses-target-expected.txt (working copy)
@@ -11,13 +11,22 @@
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.
+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 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