<html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<body>
<div id="tables">
<table id="table1" border=1 role="button">
<tr><td>test</td><td>test</td><td>test</td></tr>
<tr><td>test</td><td>test</td><td>test</td></tr>
</table>
<table id="table2" border=1 role="menu">
<tr><td>test</td><td>test</td><td>test</td></tr>
<tr><td>test</td><td>test</td><td>test</td></tr>
</table>
<div id="result"></div>
</div>
<script>
if (window.accessibilityController) {
result.innerText += accessibilityController.accessibleElementById("tables").attributesOfChildren();
}
</script>
</body>
</html>