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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 This test selects non-editable content using left/right arrow keys in combinatio n with shift and ctrl modifiers when caretbrowsing is disabled.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 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.
7
8 Select using shift and left or right arrow key to see character by character sel ection. Select using shift and ctrl and left or right arrow key to see word by w ord selection.
9
10 PASS getSelection().baseOffset is 10
11 PASS getSelection().extentOffset is 12
12 PASS getSelection().baseOffset is 10
13 PASS getSelection().extentOffset is 9
14 PASS getSelection().baseOffset is 10
15 PASS getSelection().extentOffset is 18
16 PASS getSelection().baseOffset is 10
17 PASS getSelection().extentOffset is 13
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698