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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/extend/go-out-of-readonly-textarea.html

Issue 2533213003: [Editing] Use VisiblePosition stardOfWord for textarea in spell checker. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | third_party/WebKit/Source/core/html/TextControlElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/selection/extend/go-out-of-readonly-textarea.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/extend/go-out-of-readonly-textarea.html b/third_party/WebKit/LayoutTests/editing/selection/extend/go-out-of-readonly-textarea.html
new file mode 100644
index 0000000000000000000000000000000000000000..03f7eb987217891d3df2429b419cba5e029793ea
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/editing/selection/extend/go-out-of-readonly-textarea.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<div id="div">
+<textarea id="textarea" readonly="readonly">
+foo
+</textarea></div>
+<script>
+test(function(){
yosin_UTC9 2016/11/30 05:32:11 Could you add assert_*? What behavior do you expec
+ textarea.focus();
+ window.getSelection().extend(div);
yosin_UTC9 2016/11/30 05:32:11 Since selection anchor position is inside TEXTAREA
+});
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/TextControlElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698