blob: 48261024d4600cf0a3e0fcf4dddb8cf2092f28c5 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function runTest()
{
document.getElementById("frame_cell").focus()
if (window.accessibilityController) {
document.body.focus();
var frameElement = accessibilityController.accessibleElementById("frame_cell");
debug("Role for iframe cell is: " + frameElement.role + " .\n");
}
}
</script>
</head>
<body onload="runTest()">
<table cellpadding=0 cellspacing=0 border=2>
<tr>
<td> Cell A </td>
<td id="frame_cell" description="Cell B"><iframe src="about:blank" width="100%"></iframe></td>
<td> Cell C </td>
</tr>
</table>
<script>
description("This tests iframe within a cell is accessible.");
</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>