4 testRunner.dumpAsText();
8 <table id="testTable1" rules="rows"><tr><td>asdf</td><td>asdf</td></tr></table>
9 <table id="testTable2" rules="all"><tr><td>asdf</td><td>asdf</td></tr></table>
10 <table id="testTable3" rules="col"><tr><td>asdf</td><td>asdf</td></tr></table>
11 <table id="testTable4" rules="groups"><tr><td>asdf</td><td>asdf</td></tr></table>
12 <table id="testTable5"><tr><td>asdf</td><td>asdf</td></tr></table>
14 <BR>------------------------------------<BR>
16 <div id="result"></div>
19 if (window.accessibilityController) {
20 var result = document.getElementById("result");
21 var body = document.getElementById("body");
24 // these should be the tables. in this order
25 // the last two tables should not show up as tables
26 for (var k = 1; k < 6; k++) {
27 var table = accessibilityController.focusedElement.childAtIndex(k);
28 result.innerText += table.allAttributes() + "\n\n";