| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <body> | 3 <body> |
| 4 <script src="../../resources/testharness.js"></script> | 4 <script src="/resources/testharness.js"></script> |
| 5 <script src="../../resources/testharnessreport.js"></script> | 5 <script src="/resources/testharnessreport.js"></script> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 test(function() { | 8 test(function() { |
| 9 assert_true('autocapitalize' in document.createElement('input')); | 9 assert_true('autocapitalize' in document.createElement('input')); |
| 10 }, "Test that the autocapitalize is avaible on HTMLInputElement.") | 10 }, "Test that the autocapitalize is avaible on HTMLInputElement.") |
| 11 | 11 |
| 12 test(function() { | 12 test(function() { |
| 13 assert_true('autocapitalize' in document.createElement('textarea')); | 13 assert_true('autocapitalize' in document.createElement('textarea')); |
| 14 }, "Test that the autocapitalize is avaible on HTMLTextAreaElement.") | 14 }, "Test that the autocapitalize is avaible on HTMLTextAreaElement.") |
| 15 | 15 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 testData.forEach(function(data) { | 91 testData.forEach(function(data) { |
| 92 var input = document.createElement('input'); | 92 var input = document.createElement('input'); |
| 93 input.type = data.type; | 93 input.type = data.type; |
| 94 assert_equals(input.autocapitalize, data.value); | 94 assert_equals(input.autocapitalize, data.value); |
| 95 }); | 95 }); |
| 96 }, "Test the default value depending on <input> type.") | 96 }, "Test the default value depending on <input> type.") |
| 97 | 97 |
| 98 </script> | 98 </script> |
| 99 </body> | 99 </body> |
| 100 </html> | 100 </html> |
| OLD | NEW |