haikuwebkit/LayoutTests/accessibility/table-notbody.html

23 lines
580 B
HTML

<html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<body id="body">
<table STYLE="visibility: hidden; left: 489px; top: 105px; width: 213px; "></table>
<div id="result"></div>
<script>
if (window.accessibilityController) {
var body = document.getElementById("body");
body.focus();
var table = accessibilityController.focusedElement.childAtIndex(0);
result.innerText += "Test passes if there is no crash\n\n";
}
</script>
</body>
</html>