Fix keypad issue when ime context transit to another context
[framework/web/webkit-efl.git] / LayoutTests / accessibility / adjacent-continuations-cause-assertion-failure.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script>
5
6     function buildAccessibilityTree(accessibilityObject, indent) {
7         var str = "";
8         for (var i = 0; i < indent; i++)
9             str += "    ";
10         str += accessibilityObject.role;
11         str += " " + accessibilityObject.stringValue;
12         str += "\n";
13         document.getElementById("tree").innerText += str;
14
15         if (accessibilityObject.stringValue.indexOf('End of test') >= 0)
16             return false;
17
18         var count = accessibilityObject.childrenCount;
19         for (var i = 0; i < count; ++i) {
20             if (!buildAccessibilityTree(accessibilityObject.childAtIndex(i), indent + 1))
21                 return false;
22         }
23
24         return true;
25     }
26 </script>
27 <script src="../fast/js/resources/js-test-pre.js"></script>
28 </head>
29 <body>
30
31 <span><div></div></span><span>x<div>y</div>z</span>
32
33 <div>End of test</div>
34
35 <p id="description"></p>
36 <pre id="tree"></pre>
37 <div id="console"></div>
38
39 <script>
40     description("Make sure that a debug assert is not triggered when constructing the accessibility tree for this page.");
41
42     if (window.accessibilityController) {
43         // Build the accessibility tree up until 'End of test' is encountered.
44         document.body.focus();
45         buildAccessibilityTree(accessibilityController.focusedElement, 0);
46     }
47
48 </script>
49
50 <script src="../fast/js/resources/js-test-post.js"></script>
51 </body>
52 </html>