Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / table-one-cell.html
blobd5eb9cbc03f25e7df659b3625d26effe21861ef9
1 <html>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 </script>
6 <body id="body">
8 <!-- this table should not appear as an AXTable because it only has one cell -->
10 <table width="90" border="0" bgcolor="a1a5a9">
11 <tr>
12 <td>
13 <P><strong>Pick Your Location!</strong><br>Get specific content for your area. <br><a href="http://web.apple.com">http://web.apple.com</a><br>
14 </font>
15 </td>
16 </tr>
17 </table>
19 <div id="result"></div>
21 <script>
22 if (window.accessibilityController) {
23 var result = document.getElementById("result");
25 var body = document.getElementById("body");
26 body.focus();
27 var table = accessibilityController.focusedElement.childAtIndex(0);
29 result.innerText += table.allAttributes();
31 </script>
32 </body>
33 </html>