Index: LayoutTests/fast/forms/number/number-reject-invalid-expected.txt |
diff --git a/LayoutTests/fast/forms/number/number-reject-invalid-expected.txt b/LayoutTests/fast/forms/number/number-reject-invalid-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..59acc59305215e36fb40a804f6403c3433a5b619 |
--- /dev/null |
+++ b/LayoutTests/fast/forms/number/number-reject-invalid-expected.txt |
@@ -0,0 +1,19 @@ |
+Arabic number input should accept ASCII digits and Arabic digits, and reject others. |
+PASS displayValueForKeyInput(arabicInput, "123.4") is "123.4" |
+PASS displayValueForKeyInput(arabicInput, "1.23E+19") is "1.23E+19" |
+PASS displayValueForKeyInput(arabicInput, "1.23e-1") is "1.23e-1" |
+PASS displayValueForKeyInput(arabicInput, "١٩٠") is "١٩٠" |
+PASS displayValueForKeyInput(arabicInput, "acdef") is "e" |
+ |
+French number input should accept ASCII digits, comma, and full stop. |
+PASS displayValueForKeyInput(frenchInput, "1234.56") is "1234.56" |
+FAIL displayValueForKeyInput(frenchInput, "1234,56") should be 1234.56. Was 1234,56. |
+ |
+English number input should accept ASCII digits and full stop, and no comma. |
+PASS displayValueForKeyInput(englishInput, "1234.56") is "1234.56" |
+PASS displayValueForKeyInput(englishInput, "-1234,56") is "-123456" |
+PASS displayValueForKeyInput(englishInput, " abcdef ") is "e" |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |