Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / textarea-select.html
blobd404c09ac3637d1af7a72a465649474fad6d3a7d
1 <html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 </head>
5 <body>
6 <textarea id="text"></textarea>
7 <script>
8 description("This test calls textarea.select and confirms selectionStart/End.");
10 text.value = "hello\n";
11 text.select();
12 shouldBe("text.selectionStart", "0");
13 shouldBe("text.selectionEnd", "6");
14 </script>
15 </body>
16 </html>