[Webkit-unassigned] [Bug 64786] The value of a number input form continues to increase/decrease even if we disable the input form.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 19 23:06:38 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=64786





--- Comment #16 from Kent Tamura <tkent at chromium.org>  2011-07-19 23:06:38 PST ---
(In reply to comment #15)
> I guess that what we need to check is whether the second increment/decrement happens or not. How can we know it by watching the 'input' event?
> 
> We need to distinguish the following two cases:
> 
> Actual behavior (without this patch):
> (1) 'mousedown' -> 'mouseup' -> 'input'  : the first 'input' event
> (2) the repeating timer is fired  : the second 'input' event
> 
> Expected behavior:
> (1) 'mousedown' -> 'mouseup' -> 'input'  : the first 'input' event
> (2) nothing happens.

Ok, let's use setTimeout(..., 51 or more) in the 'input' handler.
Smaller timeout is safer than 600ms/500ms timeout.

-- 
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