Fix keypad issue when ime context transit to another context
[framework/web/webkit-efl.git] / LayoutTests / accessibility / non-data-table-cell-title-ui-element.html
1 <html>
2 <script>
3     if (window.testRunner)
4         testRunner.dumpAsText();
5 </script>
6 <body id="body">
7  
8     <!-- This test makes sure that tables that are not exposed as tables do not have title ui elements incorrectly set  -->
9
10 <TABLE>
11 <tbody><tr><td colspan="6"><h2>ATS</h2></td></tr>
12 <tr>
13 <th>pass</th>
14 <th>issue</th>
15 <th>fail</th>
16 <th>blocked</th>
17 <th>skip</th>
18 <th>test</th>
19 </tr>
20 </tbody>
21 </tABLE>
22     
23     <div id="result"></div>
24
25      
26     <script>
27         if (window.accessibilityController) {
28             var result = document.getElementById("result");
29
30             var pass = document.getElementById("body");
31             body.focus();
32             // get the <th>skip</th> element
33             var group = accessibilityController.focusedElement.childAtIndex(5);
34             var titleUI = group.titleUIElement();
35             var allAttributes = "";
36             if (titleUI)
37                 allAttributes = titleUI.allAttributes();
38
39             // verify it has no title ui element           
40             if (!allAttributes) {
41                 result.innerText += "Test passed\n";
42             }
43             else {
44                  result.innerText += "Test failed\n";
45             }
46         }
47     </script>
48 </body>
49 </html>