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

Side by Side Diff: LayoutTests/fast/forms/form-attribute-elements-order.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 PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="description"></p> 7 <p id="description"></p>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 description("This test examines the order of the elements attribute of a form el ement."); 10 description("This test examines the order of the elements attribute of a form el ement.");
11 11
12 var container = document.createElement('div'); 12 var container = document.createElement('div');
13 document.body.appendChild(container); 13 document.body.appendChild(container);
14 container.innerHTML = '<input name=victim id=before1 form=owner />' + 14 container.innerHTML = '<input name=victim id=before1 form=owner />' +
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 shouldBe('owner.elements.length', '6'); 154 shouldBe('owner.elements.length', '6');
155 shouldBe('owner.elements[0]', 'before1'); 155 shouldBe('owner.elements[0]', 'before1');
156 shouldBe('owner.elements[1]', 'before2'); 156 shouldBe('owner.elements[1]', 'before2');
157 shouldBe('owner.elements[2]', 'inner1'); 157 shouldBe('owner.elements[2]', 'inner1');
158 shouldBe('owner.elements[3]', 'inner2'); 158 shouldBe('owner.elements[3]', 'inner2');
159 shouldBe('owner.elements[4]', 'after1'); 159 shouldBe('owner.elements[4]', 'after1');
160 shouldBe('owner.elements[5]', 'after2'); 160 shouldBe('owner.elements[5]', 'after2');
161 </script> 161 </script>
162 </body> 162 </body>
163 </html> 163 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/form-attribute-elements.html ('k') | LayoutTests/fast/forms/form-attribute-elements-order2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698