Update device orientation & motion permission native SPI as per latest proposal
[WebKit-https.git] / LayoutTests / accessibility / text-alternative-calculation-from-unrendered-table.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 <script src="../resources/accessibility-helper.js"></script>
6 </head>
7 <body>
8 <div id="content">
9   <input id="test1" type="text" aria-labelledby="hidden" />
10   <input id="test2" type="text" aria-describedby="hidden" />
11   <div style="display:none;">
12     <div id="hidden">
13       <table>
14         <tr>
15           <td>cell 1</td>
16           <td><div>cell 2</div></td>
17           <td>cell 3</td>
18         </tr>
19       </table>
20     </div>
21   </div>
22 </div>
23 <p id="description"></p>
24 <div id="console"></div>
25
26 <script>
27     description("This tests text alternative calculation from an unrendered table.");
28     if (window.accessibilityController) {
29         var test1 = accessibilityController.accessibleElementById("test1");
30         debug("Test 1 - W3C Name: " + platformValueForW3CName(test1));
31
32         var test2 = accessibilityController.accessibleElementById("test2");
33         debug("Test 2 - W3C Description: " + platformValueForW3CDescription(test2));
34     
35         document.getElementById("content").style.visibility = "hidden";
36     }
37 </script>
38
39 <script src="../resources/js-test-post.js"></script>
40 </body>
41 </html>