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

Side by Side Diff: LayoutTests/fast/forms/number/number-spinbutton-change-and-input-events-expected.txt

Issue 228633003: Do not dispatch change event when pressing spin button for input type=datetime (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Detach handling for DateTime field Created 6 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
OLDNEW
1 Test for event dispatching by spin buttons in a type=number input. 1 Test for event dispatching by spin buttons in a type=number input.
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 6 Initial state
7 PASS changeEventCounter is 0 7 PASS changeEventCounter is 0
8 PASS inputEventCounter is 0 8 PASS inputEventCounter is 0
9 Click the upper button 9 Click the upper button
10 Triggers only input event on mouseDown
11 PASS testInput.value is "1"
12 PASS changeEventCounter is 0
13 PASS inputEventCounter is 1
14 Triggers only change event on mouseUp
10 PASS testInput.value is "1" 15 PASS testInput.value is "1"
11 PASS changeEventCounter is 1 16 PASS changeEventCounter is 1
12 PASS inputEventCounter is 1 17 PASS inputEventCounter is 1
13 Click again, but the value is not changed. 18 Click again, but the value is not changed.
14 PASS testInput.value is "1" 19 PASS testInput.value is "1"
15 PASS changeEventCounter is 1 20 PASS changeEventCounter is 1
16 PASS inputEventCounter is 1 21 PASS inputEventCounter is 1
17 Focus on another field 22 Focus on another field
18 PASS changeEventCounter is 1 23 PASS changeEventCounter is 1
19 PASS inputEventCounter is 1 24 PASS inputEventCounter is 1
20 PASS successfullyParsed is true 25 PASS successfullyParsed is true
21 26
22 TEST COMPLETE 27 TEST COMPLETE
23 28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698