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

Unified Diff: third_party/WebKit/Source/web/tests/data/move_range_selection_extent_input_field.html

Issue 2270663002: Selection API of INPUT/TEXTAREA should not update FrameSelection without focusing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust more tests Created 4 years, 4 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 | « third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/data/move_range_selection_extent_input_field.html
diff --git a/third_party/WebKit/Source/web/tests/data/move_range_selection_extent_input_field.html b/third_party/WebKit/Source/web/tests/data/move_range_selection_extent_input_field.html
index 420c86d6113704628b75cf7b01ae0d97abbac94c..78c823980c11e533acf18281b543bff11144f982 100644
--- a/third_party/WebKit/Source/web/tests/data/move_range_selection_extent_input_field.html
+++ b/third_party/WebKit/Source/web/tests/data/move_range_selection_extent_input_field.html
@@ -5,6 +5,7 @@
<script>
function select() {
var input = document.getElementById('inputfield');
+ input.focus();
var range = input.setSelectionRange(0, 6);
window.getSelection().addRange(range);
}
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698