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

Side by Side Diff: LayoutTests/fast/forms/text-control-intrinsic-widths.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 measures the width of textareas and text inputs for diffe rent fonts."); 10 description("This test measures the width of textareas and text inputs for diffe rent fonts.");
11 11
12 var sizes = [1, 2, 3, 4, 5, 10, 20, 50, 100, 500, 1000]; 12 var sizes = [1, 2, 3, 4, 5, 10, 20, 50, 100, 500, 1000];
13 // This list was grabbed from Wikipedia 13 // This list was grabbed from Wikipedia
14 // http://en.wikipedia.org/wiki/Core_fonts_for_the_Web 14 // http://en.wikipedia.org/wiki/Core_fonts_for_the_Web
(...skipping 20 matching lines...) Expand all
35 for (var j = 0; j < fonts.length; j++) { 35 for (var j = 0; j < fonts.length; j++) {
36 debug('<b>' + fonts[j] + '</b>'); 36 debug('<b>' + fonts[j] + '</b>');
37 printElementWidth('input', fonts[j]); 37 printElementWidth('input', fonts[j]);
38 debug('') 38 debug('')
39 printElementWidth('textarea', fonts[j]); 39 printElementWidth('textarea', fonts[j]);
40 debug(''); 40 debug('');
41 } 41 }
42 </script> 42 </script>
43 </body> 43 </body>
44 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698