Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / forms / number / number-spinbutton-change-and-input-events-expected.txt
1 Test for event dispatching by spin buttons in a type=number input.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 Initial state
7 PASS changeEventCounter is 0
8 PASS inputEventCounter is 0
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
15 PASS testInput.value is "1"
16 PASS changeEventCounter is 1
17 PASS inputEventCounter is 1
18 Click again, but the value is not changed.
19 PASS testInput.value is "1"
20 PASS changeEventCounter is 1
21 PASS inputEventCounter is 1
22 Focus on another field
23 PASS changeEventCounter is 1
24 PASS inputEventCounter is 1
25 PASS successfullyParsed is true
26
27 TEST COMPLETE
28