Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / web / tests / data / textbox.html
bloba0e296fe3ad79d9c08675d7f774a7d3bda4536d4
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 html {
6 font: 10px Ahem;
7 -webkit-font-smoothing: none;
8 margin: 0px;
10 textarea {
11 font: 10px Ahem;
12 -webkit-font-smoothing: none;
13 margin: 0px;
14 position: absolute;
15 left: 200px;
16 top: 250px;
19 </style>
20 </head>
21 <body>
22 <textarea id='target' class="text" type='text' rows="3" cols="20">
23 First Line
24 Second Text Row
25 </textarea>
26 <script>
27 function selectRange() {
28 var text = document.getElementById('target');
29 text.focus();
30 text.setSelectionRange(1, 3);
32 </script>
33 </body>
34 </html>