Revert of Update of change event for input type number (https://codereview.chromium.org/128133002/)

Reason for revert:
I'm afraid It made time-multiple-fields-spinbutton-change-and-input-events.html falky.


Original issue's description:
> Do 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

TBR=keishi@chromium.org,habib.virji@samsung.com
NOTREECHECKS=true
NOTRY=true
BUG=155747

Review URL: https://codereview.chromium.org/140793012

git-svn-id: svn://svn.chromium.org/blink/trunk@165376 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "Revert of Update of change event for input type number (https://codereview.chromium.org/128133002/)"

The revert didn't help.

Original issue's description:
> Revert of Update of change event for input type number (https://codereview.chromium.org/128133002/)
>
> Reason for revert:
> I'm afraid It made time-multiple-fields-spinbutton-change-and-input-events.html flaky.
>
>
> Original issue's description:
> > Do 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
>
> TBR=keishi@chromium.org,habib.virji@samsung.com
> NOTREECHECKS=true
> NOTRY=true
> BUG=155747

TBR=keishi@chromium.org,habib.virji@samsung.com
NOTREECHECKS=true
NOTRY=true
BUG=155747

Review URL: https://codereview.chromium.org/142963002

git-svn-id: svn://svn.chromium.org/blink/trunk@165377 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Protect autofocus element in AutofocusTask::performTask.

Document::m_autofocusElement can have the last reference to the element.

BUG=335921
TEST=automated
R=keishi@chromium.org

Review URL: https://codereview.chromium.org/132053005

git-svn-id: svn://svn.chromium.org/blink/trunk@165378 bbb929c8-8fbe-4397-9dbb-9b2b20218538