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

Unified Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-textarea.html

Issue 1734293002: TEXTAREA should not reset the caret position when it is focused by sequential focus navigation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-textarea.html
diff --git a/third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-textarea.html b/third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-textarea.html
index 07c4977973e1c8a5ee459853c77d83506f52f767..836b7db8dc22be84961cd17d3ff793f5aa900060 100644
--- a/third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-textarea.html
+++ b/third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-textarea.html
@@ -37,16 +37,23 @@
["Down", "start"],
["Down", "start"],
["Down", "8"],
- ["Up", "start"],
+ ["Up", "start"], // The caret is at the end of TEXTAREA.
+ ["Up", "start"], // The caret is before 'b' in TEXTAREA.
+ ["Up", "start"], // The caret is at the beginning of TEXTAREA.
["Up", "2"],
["Down", "start"],
["Right", "start"],
["Right", "start"],
["Right", "start"],
["Right", "start"],
- ["Right", "start"],
+ ["Right", "start"], // The caret is at the end of TEXTAREA.
["Right", "6"],
+ ["Left", "start"], // The caret is at the end of TEXTAREA.
+ ["Left", "start"],
+ ["Left", "start"],
+ ["Left", "start"],
["Left", "start"],
+ ["Left", "start"], // The caret is at the beginning of TEXTAREA.
["Left", "4"],
["Right", "start"],
["DONE", "DONE"]

Powered by Google App Engine
This is Rietveld 408576698