blob: 392c651b512a5ec28c34362e32b7b5268569d968 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body id="body">
<p id="description"></p>
<div id="console"></div>
<script>
description("This tests that the web area's focus can be settable.");
if (window.accessibilityController) {
var tree = document.getElementById("body");
body.focus();
// Test tree attributes.
body = accessibilityController.focusedElement;
shouldBe("body.isFocusable", "true");
}
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>