4 testRunner.dumpAsText();
8 <div id="result"></div>
10 <textarea name="area1" id="area1" rows="5" cols="40">
17 if (window.accessibilityController) {
18 var result = document.getElementById("result");
20 var area1 = document.getElementById("area1");
23 var textArea = accessibilityController.focusedElement;
25 textArea.setSelectedTextRange(4,0);
26 result.innerText += "(4,0) = " + textArea.selectedTextRange + "\n\n";
28 textArea.setSelectedTextRange(8,2);
29 result.innerText += "(8,2) = " + textArea.selectedTextRange + "\n\n";
31 textArea.setSelectedTextRange(100,0);
32 result.innerText += "(100,0) = " + textArea.selectedTextRange + "\n\n";