[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:02:53 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=64786
--- Comment #15 from Kentaro Hara <haraken at google.com> 2011-07-19 23:02:54 PST ---
> > LayoutTests/fast/forms/spin-button-gets-disabled-or-readonly.html:60
> > + setTimeout(function() {
> > + shouldBeEqualToString('input.value', "1234566");
> > + nextDelayTest();
> > + }, 500);
>
> We can know the first increment/decrement by 'input' event. Can we avoid setTime() by 'input' event handler?
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.
--
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