OLD | NEW |
1 <html> | 1 <html> |
2 <script> | 2 <script> |
3 if (window.testRunner) | 3 if (window.testRunner) |
4 testRunner.dumpAsText(); | 4 testRunner.dumpAsText(); |
5 </script> | 5 </script> |
6 <body> | 6 <body> |
7 | 7 |
8 <div id="result"></div> | 8 <div id="result"></div> |
9 | 9 |
10 <textarea name="area1" id="area1" rows="5" cols="40"> | 10 <textarea name="area1" id="area1" rows="5" cols="40"> |
(...skipping 17 matching lines...) Expand all Loading... |
28 textArea.setSelectedTextRange(8,2); | 28 textArea.setSelectedTextRange(8,2); |
29 result.innerText += "(8,2) = " + textArea.selectedTextRange + "\n\n"
; | 29 result.innerText += "(8,2) = " + textArea.selectedTextRange + "\n\n"
; |
30 | 30 |
31 textArea.setSelectedTextRange(100,0); | 31 textArea.setSelectedTextRange(100,0); |
32 result.innerText += "(100,0) = " + textArea.selectedTextRange + "\n\
n"; | 32 result.innerText += "(100,0) = " + textArea.selectedTextRange + "\n\
n"; |
33 | 33 |
34 } | 34 } |
35 </script> | 35 </script> |
36 </body> | 36 </body> |
37 </html> | 37 </html> |
OLD | NEW |