1 Test for validationMessage IDL attribute for <input type=number>
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS testIt("", "", "") is ""
9 PASS testIt("", "", "") is "Please fill out this field."
11 PASS testIt("foo", "", "") is ""
13 PASS testIt("200", "", "100") is "Value must be less than or equal to 100."
14 PASS testIt("200", "", "100.4") is "Value must be less than or equal to 100,4."
15 PASS testIt("200", "", "100") is "Value must be less than or equal to ١٠٠."
17 PASS testIt("10", "50", "100") is "Value must be greater than or equal to 50."
18 PASS testIt("10", "50", "100") is "Value must be greater than or equal to ٥٠."
20 PASS testIt("55", "0", "100", "10") is "Please enter a valid value. The two nearest valid values are 50 and 60."
21 PASS successfullyParsed is true