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

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

Issue 48903019: Delete js-test-post.js. (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="../fast/js/resources/js-test-pre.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>
(...skipping 21 matching lines...) Expand all
32 var owner = document.getElementById("embedOwner"); 32 var owner = document.getElementById("embedOwner");
33 for (var i = 0; i < owner.childNodes.length; ++i) { 33 for (var i = 0; i < owner.childNodes.length; ++i) {
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 <script src="../fast/js/resources/js-test-post.js"></script>
43 </body> 42 </body>
44 </html> 43 </html>
OLDNEW
« no previous file with comments | « LayoutTests/plugins/re-request-touch-events-crash.html ('k') | LayoutTests/pointer-lock/lock-already-locked.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698