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

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 tab-to-focusable_node test 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
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..09c4eb0bf93ff1e70fc89a3bc2a6384d354a0591 100644
--- a/LayoutTests/fast/dom/fragment-activation-focuses-target-expected.txt
+++ b/LayoutTests/fast/dom/fragment-activation-focuses-target-expected.txt
@@ -11,13 +11,23 @@ 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
+focusable node

Powered by Google App Engine
This is Rietveld 408576698