OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <script src="../fast/js/resources/js-test-pre.js"></script> | 3 <script src="../resources/js-test.js"></script> |
4 <body> | 4 <body> |
5 <div id="embedOwner"> | 5 <div id="embedOwner"> |
6 <embed id="embedElem" type="application/x-webkit-test-netscape" width=100 height
=100></embed> | 6 <embed id="embedElem" type="application/x-webkit-test-netscape" width=100 height
=100></embed> |
7 <object id="objectElem" type="application/x-webkit-test-netscape" windowedPlugin
="false" width=100 height=100 tabIndex=1></object> | 7 <object id="objectElem" type="application/x-webkit-test-netscape" windowedPlugin
="false" width=100 height=100 tabIndex=1></object> |
8 | 8 |
9 <embed id="embedElemWithFallbackContents" | 9 <embed id="embedElemWithFallbackContents" |
10 type="application/x-webkit-test-netscape" width=100 height=100 tabIndex=-1>Fallb
ack contents.</embed> | 10 type="application/x-webkit-test-netscape" width=100 height=100 tabIndex=-1>Fallb
ack contents.</embed> |
11 <object id="objectElemWithFallbackContents" type="application/x-webkit-test-nets
cape" windowedPlugin="false" width=100 height=100>Fallback contents.</object> | 11 <object id="objectElemWithFallbackContents" type="application/x-webkit-test-nets
cape" windowedPlugin="false" width=100 height=100>Fallback contents.</object> |
12 | 12 |
13 <embed id="noPluginEmbedElem" type="application/x-no-such-plugin" windowedPlugin
="false" width=100 height=100 tabIndex=1></embed> | 13 <embed id="noPluginEmbedElem" type="application/x-no-such-plugin" windowedPlugin
="false" width=100 height=100 tabIndex=1></embed> |
(...skipping 20 matching lines...) Expand all Loading... |
34 pluginElement = owner.childNodes[i]; | 34 pluginElement = owner.childNodes[i]; |
35 if (pluginElement.id) { | 35 if (pluginElement.id) { |
36 tabIndexAttribute = pluginElement.getAttribute("tabindex"); | 36 tabIndexAttribute = pluginElement.getAttribute("tabindex"); |
37 expectedTabIndex = tabIndexAttribute ? tabIndexAttribute : '0'; | 37 expectedTabIndex = tabIndexAttribute ? tabIndexAttribute : '0'; |
38 shouldBe('"' + pluginElement.id + '"; pluginElement.tabIndex', expectedT
abIndex); | 38 shouldBe('"' + pluginElement.id + '"; pluginElement.tabIndex', expectedT
abIndex); |
39 } | 39 } |
40 } | 40 } |
41 </script> | 41 </script> |
42 </body> | 42 </body> |
43 </html> | 43 </html> |
OLD | NEW |