Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / iframe-within-cell.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 <script>
6
7 if (window.testRunner)
8     testRunner.dumpAsText();
9
10 function runTest()
11 {
12     document.getElementById("frame_cell").focus()
13     if (window.accessibilityController) {
14         document.body.focus();
15         var frameElement = accessibilityController.accessibleElementById("frame_cell");
16         debug("Role for iframe cell is:  " + frameElement.role + " .\n");
17     }
18 }
19             
20 </script>
21 </head>
22     
23 <body onload="runTest()">
24 <table cellpadding=0 cellspacing=0 border=2>
25 <tr>
26 <td> Cell A </td>
27 <td id="frame_cell" description="Cell B"><iframe src="about:blank" width="100%"></iframe></td>
28 <td> Cell C </td>
29 </tr>
30 </table>
31
32 <script>
33 description("This tests iframe within a cell is accessible.");
34 </script>
35 <script src="../resources/js-test-post.js"></script>
36 </body>
37 </html>