Merge "[Release] Webkit2-efl-123997_0.11.51" into tizen_2.1
[framework/web/webkit-efl.git] / LayoutTests / accessibility / plugin.html
1 <html>
2 <script>
3     if (window.testRunner)
4         testRunner.dumpAsText();
5 </script>
6 <body id="body">
7     <!-- This test ensures that a plugin that is not accessible, will not appear in the AX hierachy-->
8     <object width=100 height=100>
9        <param name="movie">
10        <embed src="resources/test.swf" type="application/x-shockwave-flash">
11     </object>    
12     
13     <div id="result"></div>
14
15      
16     <script>
17         if (window.accessibilityController) {
18             var result = document.getElementById("result");
19
20             var body = document.getElementById("body");
21             body.focus();
22             result.innerText += accessibilityController.focusedElement.attributesOfChildren() + "\n\n"; 
23         }
24     </script>
25 </body>
26 </html>