Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / table-nofirstbody.html
1 <html>
2 <script>
3     if (window.testRunner)
4         testRunner.dumpAsText();
5 </script>
6 <body id="body">
7     
8     <table cellpadding="0" cellspacing="0" border="1" width="100%">
9         <thead>
10             <tr>
11                 <th class="jive-first-last">
12                     <table cellpadding="0" cellspacing="0" border="1" width="100%">
13                         <thead>
14                             <tr>
15                                 <th width="1%"> Test </th>
16                             </tr>
17                         </thead>
18                     </table>
19                 </th>
20             </tr>
21         </thead>
22     </table>
23     
24     <div id="result"></div>
25     
26     <script>
27         if (window.accessibilityController) {
28             var body = document.getElementById("body");
29             body.focus();
30             var table = accessibilityController.focusedElement.childAtIndex(0);
31             var row = table.childAtIndex(0);
32             var cell = row.childAtIndex(0);
33             var table2 = cell.childAtIndex(0);
34
35             result.innerText += "Test passes if there is no crash\n\n";            
36         }
37     </script>
38 </body>
39 </html>