Fix keypad issue when ime context transit to another context
[framework/web/webkit-efl.git] / LayoutTests / accessibility / aria-scrollbar-role.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../fast/js/resources/js-test-pre.js"></script>
5 </head>
6 <body id="body">
7
8 <div tabindex=0 id="scroller" aria-valuenow="55" role="scrollbar" aria-orientation="vertical">scrollbar</div>
9
10
11 <p id="description"></p>
12 <div id="console"></div>
13
14 <script>
15
16     description("This tests that the ARIA scrollbar role works correctly");
17
18     if (window.accessibilityController) {
19
20         document.getElementById("scroller").focus();
21         var scroller = accessibilityController.focusedElement;
22         shouldBe("scroller.role", "'AXRole: AXScrollBar'");
23         shouldBe("scroller.intValue", "55");
24         shouldBe("scroller.orientation", "'AXOrientation: AXVerticalOrientation'");
25
26         document.getElementById("scroller").setAttribute("aria-orientation", "horizontal");
27         shouldBe("scroller.orientation", "'AXOrientation: AXHorizontalOrientation'");
28     }
29
30 </script>
31
32 <script src="../fast/js/resources/js-test-post.js"></script>
33 </body>
34 </html>