6 if (window
.testRunner
) {
7 testRunner
.dumpAsText();
8 testRunner
.dumpEditingCallbacks();
10 var ta
= document
.getElementById('ta');
12 document
.execCommand("SelectAll");
16 <body onload=
"test()">
17 This tests that select all works in a readonly textarea, without selecting the surrounding text.
19 <textarea id=
"ta" readonly
>This text should be selected
</textarea>