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

Side by Side Diff: LayoutTests/fast/dom/Element/id-in-formcollection.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 6
7 <form id="idf1"> 7 <form id="idf1">
8 <select id="ids1" name="name1"><option selected>FAILURE</option></select> 8 <select id="ids1" name="name1"><option selected>FAILURE</option></select>
9 <select id="ids1" name="name2"><option selected>FAILURE</option></select> 9 <select id="ids1" name="name2"><option selected>FAILURE</option></select>
10 </form> 10 </form>
11 11
12 <script> 12 <script>
13 description("Test using id in HTMLFormCollection"); 13 description("Test using id in HTMLFormCollection");
14 14
15 var elems = document.getElementById("idf1").elements; 15 var elems = document.getElementById("idf1").elements;
16 shouldBe('elems["ids1"][1].getAttribute("name")', '"name2"'); 16 shouldBe('elems["ids1"][1].getAttribute("name")', '"name2"');
17 </script> 17 </script>
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Element/id-in-applet.html ('k') | LayoutTests/fast/dom/Element/id-in-frame.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698