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

Unified Diff: LayoutTests/editing/selection/select-down-or-up-the-lines-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-down-or-up-the-lines-in-readonly-texts-using-keys-with-caret-mode-off-expected.txt
diff --git a/LayoutTests/editing/selection/select-down-or-up-the-lines-in-readonly-texts-using-keys-with-caret-mode-off-expected.txt b/LayoutTests/editing/selection/select-down-or-up-the-lines-in-readonly-texts-using-keys-with-caret-mode-off-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b1d723b5c9b273d7d8da570e9534362ff0d7ff4
--- /dev/null
+++ b/LayoutTests/editing/selection/select-down-or-up-the-lines-in-readonly-texts-using-keys-with-caret-mode-off-expected.txt
@@ -0,0 +1,23 @@
+This is the first paragraph.
+
+This is the second paragraph.
+
+This tests selection in readonly texts using shift+Up/Down. With this key combination you can select up or down the line. When no further up/down movement is possible, the selection either moves to the start (for up) or end (for down) of the line.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS selection.type is "Range"
+PASS selection.anchorNode is paragraph1
+PASS selection.anchorOffset is 3
+PASS selection.focusNode is paragraph1
+PASS selection.focusOffset is 0
+PASS selection.type is "Range"
+PASS selection.anchorNode is paragraph1
+PASS selection.anchorOffset is 3
+PASS selection.focusNode is paragraph2
+PASS selection.focusOffset is 3
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698