Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(715)

Side by Side Diff: LayoutTests/plugins/tabindex.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698