| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <script src="../../resources/js-test-pre.js"></script> |
| <textarea id="textarea" tabindex=0></textarea> |
| description("This tests that the AXSelectedTextRange for a text area will be 0, 0 instead of nil."); |
| if (window.accessibilityController) { |
| // this text field should be required. |
| document.getElementById("textarea").focus(); |
| var obj = accessibilityController.focusedElement; |
| shouldBe("obj.selectedTextRange", "'{0, 0}'"); |
| <script src="../../resources/js-test-post.js"></script> |