Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: LayoutTests/fast/forms/number/number-l10n-input-expected.txt

Issue 1100273002: input[type=number] UI should reject invalid characters. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Putting some ASCII digit strings to a number input using localized digits. 1 Putting some ASCII digit strings to a number input using localized digits.
2 PASS document.execCommand("InsertText", false, "1234"); arabicInput.value is "12 34" 2 PASS document.execCommand("InsertText", false, "1234"); arabicInput.value is "12 34"
3 PASS document.execCommand("InsertText", false, "1.234"); arabicInput.value is "1 .234" 3 PASS document.execCommand("InsertText", false, "1.234"); arabicInput.value is "1 .234"
4 PASS document.execCommand("InsertText", false, "1,234"); arabicInput.value is "" 4 PASS document.execCommand("InsertText", false, "1,234"); arabicInput.value is "1 234"
5 5
6 Putting some digit strings to a French number input. 6 Putting some digit strings to a French number input.
7 PASS document.execCommand("InsertText", false, "1234"); frenchInput.value is "12 34" 7 PASS document.execCommand("InsertText", false, "1234"); frenchInput.value is "12 34"
8 PASS document.execCommand("InsertText", false, "1,234"); frenchInput.value is "1 .234" 8 PASS document.execCommand("InsertText", false, "1,234"); frenchInput.value is "1 .234"
9 PASS document.execCommand("InsertText", false, "1.234"); frenchInput.value is "1 .234" 9 PASS document.execCommand("InsertText", false, "1.234"); frenchInput.value is "1 .234"
10 10
11 Puttting some digit strings to an English number input. 11 Puttting some digit strings to an English number input.
12 PASS document.execCommand("InsertText", false, "1234"); englishInput.value is "1 234" 12 PASS document.execCommand("InsertText", false, "1234"); englishInput.value is "1 234"
13 PASS document.execCommand("InsertText", false, "1.234"); englishInput.value is " 1.234" 13 PASS document.execCommand("InsertText", false, "1.234"); englishInput.value is " 1.234"
14 PASS document.execCommand("InsertText", false, "1,234"); englishInput.value is " " 14 PASS document.execCommand("InsertText", false, "1,234"); englishInput.value is " 1234"
15 PASS successfullyParsed is true 15 PASS successfullyParsed is true
16 16
17 TEST COMPLETE 17 TEST COMPLETE
18 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698