[Webkit-unassigned] [Bug 48976] stepUp/stepDown for values in step-mismatching state for input elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 15 23:00:39 PST 2010


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


Dai Mikurube <dmikurube at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |barraclough at apple.com




--- Comment #11 from Dai Mikurube <dmikurube at google.com>  2010-11-15 23:00:38 PST ---
(In reply to comment #10)
> LayoutTests/fast/forms/range-keyoperation.html might be better.  It doesn't use eventSender.

Kent-san, Thank you. Tests with events worked fine.


I found another issue to be discussed.

1. <input type="number" min="0" value="0" step="0.003921568627450980" max="1" />
2. stepUp() for 255 times.
3. stepDown() for 255 times. => 3.838e-15 (0 is expected.)

My patch removes numeric errors with "decimal places" as the bug 48308 does. (The maximum decimal places of step and the current value, not base.)

This error removing does not work for the case above. The decimal places of step are large. We could remove this rounding error with stepwise adjustment at stepUp()/stepDown().

This example is shown at HTML5 - 4.10.7.2.11 The step attribute.


I've added Gavin

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