[Webkit-unassigned] [Bug 129929] New: input event doesn't fire when <input type=range> value is changed by pressing the keyboard arrows
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 18 12:25:48 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=129929
Summary: input event doesn't fire when <input type=range> value
is changed by pressing the keyboard arrows
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Events
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ltilve at igalia.com
CC: darin at apple.com, andersca at apple.com, sam at webkit.org,
dbates at webkit.org, tkent at chromium.org,
akling at apple.com
Lorenzo Tilve <ltilve at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |akling at apple.com,
| |andersca at apple.com,
| |dbates at webkit.org
The 'input' event is fired when moving the slider with the mouse, but it's not when using the keyboard. The 'change' event is properly sent in both cases.
It can be tested here http://jsfiddle.net/ltilve/T8767/
The behaviour should be the same with independence of the device, dispatching the 'input' event in both cases.
Is the same issue reported at https://crbug.com/345611
--- Comment #1 from Lorenzo Tilve <ltilve at igalia.com> 2014-03-07 15:38:47 PST ---
Created an attachment (id=226175)
--> (https://bugs.webkit.org/attachment.cgi?id=226175&action=review)
Patch
--- Comment #2 from Zan Dobersek <zandobersek at gmail.com> 2014-03-18 12:26:07 PST ---
(From update of attachment 226175)
View in context: https://bugs.webkit.org/attachment.cgi?id=226175&action=review
> Source/WebCore/html/RangeInputType.cpp:241
> - TextFieldEventBehavior eventBehavior = DispatchChangeEvent;
> + TextFieldEventBehavior eventBehavior = DispatchInputAndChangeEvent;
> setValueAsDecimal(newValue, eventBehavior, IGNORE_EXCEPTION);
DispatchInputAndChangeEvent can be inlined directly into the setValueAsDecimal() call.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list