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

Unified Diff: Source/web/tests/data/select_range_textarea_overflow.html

Issue 177903010: Expose the selection root bounds in WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add missing test files Created 6 years, 9 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: Source/web/tests/data/select_range_textarea_overflow.html
diff --git a/Source/web/tests/data/select_range_textarea_overflow.html b/Source/web/tests/data/select_range_textarea_overflow.html
new file mode 100644
index 0000000000000000000000000000000000000000..c0da18bd874ce956662fbe83116b09fc287450a6
--- /dev/null
+++ b/Source/web/tests/data/select_range_textarea_overflow.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<body>
+<textarea id='target' rows='2' cols='3'>
+ simple text that should be a bit longer than that
+</textarea>
+<script>
+ var textarea = document.getElementById('target');
+ textarea.focus();
+ textarea.setSelectionRange(0, textarea.value.length);
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698