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

Side by Side Diff: content/test/data/touch_selection.html

Issue 2201853002: Blink handle selection handle visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed incorrect rebase Created 3 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
OLDNEW
1 <html> 1 <html>
2 <style> 2 <style>
3 /* Add space between div and textfield so that touch selects the text in div. */ 3 /* Add space between div and textfield so that touch selects the text in div. */
4 #textDiv { 4 #textDiv {
5 margin-bottom: 30px; 5 margin-bottom: 30px;
6 } 6 }
7 </style> 7 </style>
8 <body> 8 <body>
9 <div id='dummy'>Dummy Padding Text</div> 9 <div id='dummy'>Dummy Padding Text</div>
10 <div id='textDiv'>Some text we can select</div> 10 <div id='textDiv'>Some text we can select</div>
(...skipping 19 matching lines...) Expand all
30 } 30 }
31 31
32 function get_point_inside_text() { 32 function get_point_inside_text() {
33 get_point_inside(document.getElementById('textDiv')); 33 get_point_inside(document.getElementById('textDiv'));
34 } 34 }
35 35
36 function get_point_inside_textfield() { 36 function get_point_inside_textfield() {
37 get_point_inside(document.getElementById('textfield')); 37 get_point_inside(document.getElementById('textfield'));
38 } 38 }
39 39
40 function clear_textfield() {
41 document.getElementById('textfield').value = "";
42 }
43
44 </script> 40 </script>
45 41
46 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698