OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <script src="../fast/js/resources/js-test-pre.js"></script> | 5 <script src="../resources/js-test.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=32292">bug 32292</a
>: | 8 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=32292">bug 32292</a
>: |
9 "Unable to focus on embedded plugins such as Flash via javascript focus()"</p> | 9 "Unable to focus on embedded plugins such as Flash via javascript focus()"</p> |
10 <p>This tests focusing Embeds and Objects. See LayoutTests/java for Applet eleme
nts.</p> | 10 <p>This tests focusing Embeds and Objects. See LayoutTests/java for Applet eleme
nts.</p> |
11 <div id=embedOwner> | 11 <div id=embedOwner> |
12 <embed id="embedElem" type="application/x-webkit-test-netscape" width=100 height
=100 shouldFocus=true></embed> | 12 <embed id="embedElem" type="application/x-webkit-test-netscape" width=100 height
=100 shouldFocus=true></embed> |
13 <object id="objectElem" type="application/x-webkit-test-netscape" windowedPlugin
="false" width=100 height=100 shouldFocus=true></object> | 13 <object id="objectElem" type="application/x-webkit-test-netscape" windowedPlugin
="false" width=100 height=100 shouldFocus=true></object> |
14 | 14 |
15 <embed id="embedElemWithFallbackContents" type="application/x-webkit-test-netsca
pe" width=100 height=100 shouldFocus=true>Fallback contents.</embed> | 15 <embed id="embedElemWithFallbackContents" type="application/x-webkit-test-netsca
pe" width=100 height=100 shouldFocus=true>Fallback contents.</embed> |
(...skipping 26 matching lines...) Expand all Loading... |
42 pluginElement.blur(); | 42 pluginElement.blur(); |
43 } | 43 } |
44 } | 44 } |
45 } | 45 } |
46 | 46 |
47 document.addEventListener("DOMContentLoaded", RunTest, false); | 47 document.addEventListener("DOMContentLoaded", RunTest, false); |
48 | 48 |
49 </script> | 49 </script> |
50 </body> | 50 </body> |
51 </html> | 51 </html> |
OLD | NEW |