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

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

Issue 583833007: Revert of Fix update of validity cache value, so that it reflects the correct state of any ... (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 looses 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 looses 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="". 29 A bad input should be cleared by value="".
30 PASS number.value = ""; document.execCommand("SelectAll"); document.getSelection ().toString() is "" 30 PASS number.value = ""; document.execCommand("SelectAll"); document.getSelection ().toString() is ""
31 badInput and checkValidty() should be updated by value= "some valid number"
32 Type some text (invalid input)
33 PASS number.validity.badInput is true
34 PASS number.checkValidity() is false
35 Now set a valid value
36 PASS number.validity.badInput is false
37 PASS number.checkValidity() is true
38 PASS successfullyParsed is true 31 PASS successfullyParsed is true
39 32
40 TEST COMPLETE 33 TEST COMPLETE
41 34
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/number/number-validity-badinput.html ('k') | Source/core/html/HTMLFormControlElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698