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

Side by Side Diff: LayoutTests/fast/forms/autocomplete.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 <script> 4 <script>
5 function test() { 5 function test() {
6 var form = document.getElementById('form'); 6 var form = document.getElementById('form');
7 var field = document.getElementById('field'); 7 var field = document.getElementById('field');
8 8
9 shouldBeTrue("('autocomplete' in form)"); 9 shouldBeTrue("('autocomplete' in form)");
10 shouldBeTrue("('autocomplete' in field)"); 10 shouldBeTrue("('autocomplete' in field)");
11 11
12 shouldBeNull("form.getAttribute('autocomplete')"); 12 shouldBeNull("form.getAttribute('autocomplete')");
13 shouldBeNull("field.getAttribute('autocomplete')"); 13 shouldBeNull("field.getAttribute('autocomplete')");
(...skipping 14 matching lines...) Expand all
28 </script> 28 </script>
29 </head> 29 </head>
30 <body onload="test()"> 30 <body onload="test()">
31 This tests that the 'autocomplete' attribute of form and input elements is b ound to a JavaScript property. 31 This tests that the 'autocomplete' attribute of form and input elements is b ound to a JavaScript property.
32 <form id="form"> 32 <form id="form">
33 <input type="text" id="field" /> 33 <input type="text" id="field" />
34 </form> 34 </form>
35 <div id="console"></div> 35 <div id="console"></div>
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/associatedFormControls-leak-nodes.html ('k') | LayoutTests/fast/forms/autofocus-focus-only-once.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698