blob: 21bb805a65352e888aa7b2c3e6fcfd50e8eb7578 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script>
var successfullyParsed = false;
</script>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body id="body">
<input id="input" type='text'>
<p id="description"></p>
<div id="console"></div>
<script>
description("This test ensures that elementTextRange is valid for text controls");
if (window.accessibilityController) {
var input = accessibilityController.accessibleElementById("input");
shouldBeTrue("input.elementTextPosition != -1");
}
successfullyParsed = true;
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>