Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / select-all-textarea.html
bloba570db3e4321169f60d240792445c9c0fec90796
1 <html>
2 <head>
3 <script>
4 function test()
6 if (window.testRunner) {
7 testRunner.dumpAsText();
8 testRunner.dumpEditingCallbacks();
10 var ta = document.getElementById('ta');
11 ta.focus();
12 document.execCommand("SelectAll");
14 </script>
15 </head>
16 <body onload="test()">
17 This tests that select all works in a readonly textarea, without selecting the surrounding text.
18 <br>
19 <textarea id="ta" readonly>This text should be selected</textarea>
20 </body>
21 </html>