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

Unified Diff: LayoutTests/editing/selection/select-by-char-and-word-in-readonly-texts-using-keys-with-caret-mode-off-expected.txt

Issue 268993002: For non-editable content, selection editor commands are disabled Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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/editing/selection/select-by-char-and-word-in-readonly-texts-using-keys-with-caret-mode-off-expected.txt
diff --git a/LayoutTests/editing/selection/select-by-char-and-word-in-readonly-texts-using-keys-with-caret-mode-off-expected.txt b/LayoutTests/editing/selection/select-by-char-and-word-in-readonly-texts-using-keys-with-caret-mode-off-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7892fbbe83002cce7d707058e78c452a296d29c5
--- /dev/null
+++ b/LayoutTests/editing/selection/select-by-char-and-word-in-readonly-texts-using-keys-with-caret-mode-off-expected.txt
@@ -0,0 +1,21 @@
+This test selects non-editable content using left/right arrow keys in combination with shift and ctrl modifiers when caretbrowsing is disabled.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+To test it manually, click on non-editable content using mouse. Then by pressing shift key along with left/right arrow key you can select character by character. To select word by word hold shift, ctrl key and press left/right arrow key.
+
+Select using shift and left or right arrow key to see character by character selection. Select using shift and ctrl and left or right arrow key to see word by word selection.
+
+PASS getSelection().baseOffset is 10
+PASS getSelection().extentOffset is 12
+PASS getSelection().baseOffset is 10
+PASS getSelection().extentOffset is 9
+PASS getSelection().baseOffset is 10
+PASS getSelection().extentOffset is 18
+PASS getSelection().baseOffset is 10
+PASS getSelection().extentOffset is 13
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698