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

Side by Side Diff: LayoutTests/fast/forms/number/number-validity-badinput-expected.txt

Issue 11884049: Merge 139151 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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
OLDNEW
1 A number input fields with a bad input string should make validity.badInput true and have :invalid style. 1 A number input fields with a bad input string should make validity.badInput true and have :invalid style.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Initial state. The elment has no value. 6 Initial state. The elment has no value.
7 PASS colorOf(number) is not invalidStyleColor 7 PASS colorOf(number) is not invalidStyleColor
8 PASS number.validity.badInput is false 8 PASS number.validity.badInput is false
9 Type '-'. The element becomes badInput. 9 Type '-'. The element becomes badInput.
10 PASS colorOf(number) is invalidStyleColor 10 PASS colorOf(number) is invalidStyleColor
11 PASS number.validity.valid is false 11 PASS number.validity.valid is false
12 PASS number.validity.badInput is true 12 PASS number.validity.badInput is true
13 PASS number.value is "" 13 PASS number.value is ""
14 Type '1' additionally. The element becomes valid. 14 Type '1' additionally. The element becomes valid.
15 PASS colorOf(number) is not invalidStyleColor 15 PASS colorOf(number) is not invalidStyleColor
16 PASS number.validity.badInput is false 16 PASS number.validity.badInput is false
17 PASS number.value is "-1" 17 PASS number.value is "-1"
18 Type 'a' additionally. The element becomes badInput again. 18 Type 'a' additionally. The element becomes badInput again.
19 PASS colorOf(number) is invalidStyleColor 19 PASS colorOf(number) is invalidStyleColor
20 PASS number.validity.badInput is true 20 PASS number.validity.badInput is true
21 PASS number.value is "" 21 PASS number.value is ""
22 The element losts focus. The element state should not be changed. 22 The element losts focus. The element state should not be changed.
23 PASS colorOf(number) is invalidStyleColor 23 PASS colorOf(number) is invalidStyleColor
24 PASS number.validity.badInput is true 24 PASS number.validity.badInput is true
25 PASS document.getSelection().toString() is "-1a" 25 PASS document.getSelection().toString() is "-1a"
26 PASS number.value is "" 26 PASS number.value is ""
27 The element losts a renderer. The element state should not be changed. 27 The element losts a renderer. The element state should not be changed.
28 PASS number.style.display = "none"; number.validity.badInput is true 28 PASS number.style.display = "none"; number.validity.badInput is true
29 A bad input should be cleared by value="".
30 PASS number.value = ""; document.execCommand("SelectAll"); document.getSelection ().toString() is ""
29 PASS successfullyParsed is true 31 PASS successfullyParsed is true
30 32
31 TEST COMPLETE 33 TEST COMPLETE
32 34
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/number/number-validity-badinput.html ('k') | Source/WebCore/html/NumberInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698