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

Side by Side Diff: sky/engine/web/tests/data/move_range.html

Issue 1210153009: Remove (almost all of) //sky/engine/web (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .text {
6 font-family: courier;
7 font-size: 12px;
8 padding: 0px;
9 margin: 0px;
10 border: 0px;
11 }
12 </style>
13 </head>
14 <body>
15 <textarea id='target' class="text" type='text' rows="3" cols="20">
16 First Line
17 Second Text Row
18 </textarea>
19 <script>
20 function selectCaret() {
21 var text = document.getElementById('target');
22 text.focus();
23 text.setSelectionRange(17, 17);
24 }
25 function selectRange() {
26 var text = document.getElementById('target');
27 text.focus();
28 text.setSelectionRange(1, 3);
29 }
30 </script>
31 </body>
32 </html>
33
OLDNEW
« no previous file with comments | « sky/engine/web/tests/data/move_caret.html ('k') | sky/engine/web/tests/data/navigate_to_same.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698