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

Unified Diff: LayoutTests/editing/selection/stay-in-textarea-expected.txt

Issue 20572005: Allow selection to skip over contenteditable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Work around minor platform differences in test Created 7 years, 3 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/editing/selection/stay-in-textarea.html ('k') | Source/core/dom/Position.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/selection/stay-in-textarea-expected.txt
diff --git a/LayoutTests/editing/selection/stay-in-textarea-expected.txt b/LayoutTests/editing/selection/stay-in-textarea-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45bee93bf18dd16bbb232854d2a4c5020b8980b0
--- /dev/null
+++ b/LayoutTests/editing/selection/stay-in-textarea-expected.txt
@@ -0,0 +1,27 @@
+Before
+
+
+After
+
+Ensure that extending a selection beyond a textarea does not escape outside its shadow root.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS textareaSelection.focusOffset is 2
+PASS textareaSelection.focusNode is initialTextareaFocusNode
+PASS textareaSelection.focusOffset is 3
+PASS textareaSelection.focusNode is initialTextareaFocusNode
+PASS textareaSelection.focusOffset is 4
+PASS textareaSelection.focusNode is initialTextareaFocusNode
+PASS textareaSelection.focusOffset is 4
+PASS textareaSelection.focusNode is initialTextareaFocusNode
+PASS textareaSelection.focusOffset is 4
+PASS textareaSelection.focusNode is initialTextareaFocusNode
+PASS textareaSelection.focusOffset is 4
+PASS window.getSelection().focusNode is initialFocusNode
+PASS window.getSelection().focusOffset is initialFocusOffset
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/editing/selection/stay-in-textarea.html ('k') | Source/core/dom/Position.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698