Fix keypad issue when ime context transit to another context
[framework/web/webkit-efl.git] / LayoutTests / accessibility / input-file-causes-crash.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>
7  
8 <input id="file-input" style="display:run-in;" type="file"/>
9 <dl>
10  
11 <p id="description"></p>
12 <div id="console"></div>
13  
14 <script>
15     description("This can cause a crash if AccessibilityRenderObject assumes that a file input element's renderer must be type RenderFileUploadControl, but in corner cases (display:run-in) this may not be true.");
16
17     if (window.accessibilityController) {
18         document.getElementById("file-input").focus();
19         var element = accessibilityController.focusedElement;
20         var title = element.title;
21         shouldBeNonNull("title");
22     }
23 </script>
24
25 <script src="../fast/js/resources/js-test-post.js"></script>
26 </body>
27 </html>