blob: 826b6d245c431eee4ae425349d96ce0916711616 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Test for event dispatching by spin buttons in a type=date input.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Initial state
PASS changeEventCounter is 0
PASS inputEventCounter is 0
Click the upper button
Triggers only input event on mouseDown
PASS testInput.value is "2012-11-01"
PASS changeEventCounter is 0
PASS inputEventCounter is 1
Triggers only change event on mouseUp
PASS testInput.value is "2012-11-01"
PASS changeEventCounter is 1
PASS inputEventCounter is 1
Focus on another field
PASS changeEventCounter is 1
PASS inputEventCounter is 1
PASS successfullyParsed is true
TEST COMPLETE
|