OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../resources/js-test.js"></script> | 3 <script src="../../../resources/js-test.js"></script> |
4 </head> | 4 </head> |
5 <body> | 5 <body> |
6 <div> | 6 <div> |
7 <p>This tests the initial caret position for textareas.</p> | 7 <p>This tests the initial caret position for textareas.</p> |
8 <p>Bug 11746: REGRESSION(r14931): Outlook Web Access incorrectly positions the i
nsertion point when replying to e-mail<br> | 8 <p>Bug 11746: REGRESSION(r14931): Outlook Web Access incorrectly positions the i
nsertion point when replying to e-mail<br> |
9 <a href="http://bugs.webkit.org/show_bug.cgi?id=11746">http://bugs.webkit.org/sh
ow_bug.cgi?id=11746</a></p> | 9 <a href="http://bugs.webkit.org/show_bug.cgi?id=11746">http://bugs.webkit.org/sh
ow_bug.cgi?id=11746</a></p> |
10 </div> | 10 </div> |
11 <div> | 11 <div> |
12 <textarea id="ta" rows="5" cols="10"> | 12 <textarea id="ta" rows="5" cols="10"> |
13 1 | 13 1 |
(...skipping 10 matching lines...) Expand all Loading... |
24 </div> | 24 </div> |
25 <div id="console"></div> | 25 <div id="console"></div> |
26 <script type="text/javascript"> | 26 <script type="text/javascript"> |
27 var ta = document.getElementById('ta'); | 27 var ta = document.getElementById('ta'); |
28 ta.focus(); | 28 ta.focus(); |
29 shouldBe('ta.selectionStart', '0'); | 29 shouldBe('ta.selectionStart', '0'); |
30 shouldBe('ta.selectionEnd', '0'); | 30 shouldBe('ta.selectionEnd', '0'); |
31 </script> | 31 </script> |
32 </body> | 32 </body> |
33 </html> | 33 </html> |
OLD | NEW |