| <link rel="stylesheet" type="text/css" href="../js/resources/js-test-style.css"> |
| <script src="../js/resources/js-test-pre.js"></script> |
| <p>This tests the initial caret position for textareas.</p> |
| <p>Bug 11746: REGRESSION(r14931): Outlook Web Access incorrectly positions the insertion point when replying to e-mail<br> |
| <a href="http://bugs.webkit.org/show_bug.cgi?id=11746">http://bugs.webkit.org/show_bug.cgi?id=11746</a></p> |
| <textarea id="ta" rows="5" cols="10"> |
| <script type="text/javascript"> |
| var ta = document.getElementById('ta'); |
| shouldBe('ta.selectionStart', '0'); |
| shouldBe('ta.selectionEnd', '0'); |
| successfullyParsed = true; |
| <script type="text/javascript" src="../js/resources/js-test-post.js"></script> |