Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / table-one-cell.html
1 <html>
2 <script>
3     if (window.testRunner)
4         testRunner.dumpAsText();
5 </script>
6 <body id="body">
7     
8     <!-- this table should not appear as an AXTable because it only has one cell -->
9
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>
18     
19     <div id="result"></div>
20     
21     <script>
22         if (window.accessibilityController) {
23             var result = document.getElementById("result");
24
25             var body = document.getElementById("body");
26             body.focus();
27             var table = accessibilityController.focusedElement.childAtIndex(0);
28
29             result.innerText += table.allAttributes();
30         }
31     </script>
32 </body>
33 </html>