OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
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 <script> | 7 <script> |
8 description('Type=number field should not accept invalid numbers though a user c
an type such strings'); | 8 description('Type=number field should not accept invalid numbers though a user c
an type such strings'); |
9 | 9 |
10 var parent = document.createElement('div'); | 10 var parent = document.createElement('div'); |
(...skipping 25 matching lines...) Expand all Loading... |
36 checkIt("minimum", "0", "0"); | 36 checkIt("minimum", "0", "0"); |
37 checkIt("inRange", "25", "25"); | 37 checkIt("inRange", "25", "25"); |
38 checkIt("inRange", "50", "50"); | 38 checkIt("inRange", "50", "50"); |
39 checkIt("stepMismatch", "10.5", "10.5"); | 39 checkIt("stepMismatch", "10.5", "10.5"); |
40 checkIt("maximum", "100", "100"); | 40 checkIt("maximum", "100", "100"); |
41 checkIt("rangeOverflow", "200", "200"); | 41 checkIt("rangeOverflow", "200", "200"); |
42 checkIt("typeMismatch", "abc", ""); | 42 checkIt("typeMismatch", "abc", ""); |
43 checkIt("empty", "", ""); // empty | 43 checkIt("empty", "", ""); // empty |
44 | 44 |
45 </script> | 45 </script> |
46 <script src="../../../fast/js/resources/js-test-post.js"></script> | |
47 </body> | 46 </body> |
48 </html> | 47 </html> |
OLD | NEW |