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

Unified Diff: LayoutTests/fast/spatial-navigation/snav-date-expected.txt

Issue 22847002: Fix for crash occuring when spatial navigation is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Further fixes in test Created 7 years, 4 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/spatial-navigation/snav-date.html ('k') | Source/core/page/SpatialNavigation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/spatial-navigation/snav-date-expected.txt
diff --git a/LayoutTests/fast/spatial-navigation/snav-date-expected.txt b/LayoutTests/fast/spatial-navigation/snav-date-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d16777f2dd0c61e29a92d7c07722a85060120ce
--- /dev/null
+++ b/LayoutTests/fast/spatial-navigation/snav-date-expected.txt
@@ -0,0 +1,19 @@
+This test ensures the correctness of Spatial Navigation (SNav) algorithm over date input element (having shadow DOM).
+* Navigation steps:
+1) Loads this page, focus goes to "start" automatically.
+2) Focus moves away from input box, left and right to neighbor nodes and back.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Left Right
+PASS gFocusedDocument.activeElement.getAttribute("id") is "left"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "start"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "start"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "start"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "right"
+PASS gFocusedDocument.activeElement.getAttribute("id") is "start"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/spatial-navigation/snav-date.html ('k') | Source/core/page/SpatialNavigation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698