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('This test aims to check for rangeUnderflow flag with a number input
field'); | 8 description('This test aims to check for rangeUnderflow flag with a number input
field'); |
9 | 9 |
10 var input = document.createElement('input'); | 10 var input = document.createElement('input'); |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // Underflow cases | 58 // Underflow cases |
59 checkUnderflow('99', '100'); | 59 checkUnderflow('99', '100'); |
60 checkUnderflow('-101', '-100'); | 60 checkUnderflow('-101', '-100'); |
61 checkUnderflow('99', '1E+2'); | 61 checkUnderflow('99', '1E+2'); |
62 input.max = '100'; // value < min && value > max | 62 input.max = '100'; // value < min && value > max |
63 checkUnderflow('101', '200'); | 63 checkUnderflow('101', '200'); |
64 | 64 |
65 // Disabled | 65 // Disabled |
66 checkNotUnderflow('99', '1E+2', true); | 66 checkNotUnderflow('99', '1E+2', true); |
67 </script> | 67 </script> |
68 <script src="../../../fast/js/resources/js-test-post.js"></script> | |
69 </body> | 68 </body> |
70 </html> | 69 </html> |
OLD | NEW |