DescriptionDo not dispatch 'change' events during pressing spin buttons for input[type=number].
TextFieldInputType sends change event for its derived class. Change is
done for DispatchInputAndChangeEvent to behave similar to
DispatchChangeEvent.
DispatchChangeEvent is generated by Range, Radio, File and Checkbox
input type.
DispatchInputAndChangeEvent is generated by inputtype for step up and
down, BaseChooser/BaseMultipleFieldsDateandTime also generates
DispatchInputAndChangeEvent.
Since it is different set of inputs that generate DispatchChange and
DispatchInputAndChange, both are kept but behavior is changed; this
allows spin button to handle mouseup event.
Keyboard events are also handled for spin button.
R=tkent
BUG=155747
TEST=automated
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165300
Patch Set 1 #
Total comments: 1
Patch Set 2 : OnChange event for input type number #
Total comments: 1
Patch Set 3 : Code review updates #
Total comments: 8
Patch Set 4 : #Patch Set 5 : Added callback function in SpinButtonOwner and added new tests #
Total comments: 4
Patch Set 6 : Code review changes #Messages
Total messages: 19 (0 generated)
|