| OLD | NEW |
| 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="../../fast/js/resources/js-test-pre.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."); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 } | 33 } |
| 34 | 34 |
| 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 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 44 </body> | 43 </body> |
| 45 </html> | 44 </html> |
| OLD | NEW |