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

Side by Side Diff: Source/web/tests/data/move_range_selection_extent_input_field.html

Issue 766753002: Scroll text field when selecting text (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html id='root'>
3 <body>
4 <input type="text" id="inputfield" style='width:5em' value='Lengthy text goes he re.' />
5 <script>
6 function select() {
7 var input = document.getElementById('inputfield');
8 var range = input.setSelectionRange(0, 6);
9 window.getSelection().addRange(range);
10 }
11 window.onload = select;
12 </script>
13 </body>
14 </html>
15
OLDNEW
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698