Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / table-with-rules.html
blob4fd86c0c039e9cad732702477b95c3e00f846756
1 <html>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 </script>
6 <body id="body">
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>
18 <script>
19 if (window.accessibilityController) {
20 var result = document.getElementById("result");
21 var body = document.getElementById("body");
22 body.focus();
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";
31 </script>
32 </body>
33 </html>