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

Side by Side Diff: LayoutTests/fast/forms/input-type-change.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../js/resources/js-test-pre.js"></script>
4 </head> 4 </head>
5 <body onload="change()"> 5 <body onload="change()">
6 <p>Test the changing of an input type=TEXT to type=IMAGE, and vice versa. This t est is to make sure that 6 <p>Test the changing of an input type=TEXT to type=IMAGE, and vice versa. This t est is to make sure that
7 the height and width attributes are used for only IMAGE type.</p> 7 the height and width attributes are used for only IMAGE type.</p>
8 <div id=console></div> 8 <div id=console></div>
9 <form id=parent> 9 <form id=parent>
10 <input id="text" type="text" src="resources/apple.gif" height="17" width="19"> 10 <input id="text" type="text" src="resources/apple.gif" height="17" width="19">
(...skipping 16 matching lines...) Expand all
27 debug('Check metrics after the change:'); 27 debug('Check metrics after the change:');
28 shouldBe('text.offsetWidth', '19'); 28 shouldBe('text.offsetWidth', '19');
29 shouldBe('text.offsetHeight', '17'); 29 shouldBe('text.offsetHeight', '17');
30 shouldBeFalse('image.offsetWidth == 19'); 30 shouldBeFalse('image.offsetWidth == 19');
31 shouldBeFalse('image.offsetHeight == 17'); 31 shouldBeFalse('image.offsetHeight == 17');
32 32
33 document.body.removeChild(document.getElementById('parent')); 33 document.body.removeChild(document.getElementById('parent'));
34 finishJSTest(); 34 finishJSTest();
35 } 35 }
36 </script> 36 </script>
37 <script src="../js/resources/js-test-post.js"></script>
38 </body> 37 </body>
39 </html> 38 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/input-text-paste-maxlength.html ('k') | LayoutTests/fast/forms/input-type-change-focusout.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698