3 <script src=
"../../editing/editing.js"></script>
6 if (window
.testRunner
) {
7 testRunner
.dumpAsText();
9 document
.getElementById('tf').focus();
11 document
.getElementById('ta').focus();
16 document
.getElementById('res').innerHTML
= document
.getElementById('res').innerHTML
+ msg
+ "<br>";
21 <body onload=
"test()">
22 This tests that onSelect will fire for textfields and textareas when select-all is invoked.
<br/>
23 <input id=
"tf" value=
"test" onSelect=
"log('Test Passed: textfield')"><br/>
24 <textarea id=
"ta" onSelect=
"log('Test Passed: textarea')">test
</textarea><br/>