[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 04:01:21 PST 2010


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





--- Comment #1 from Dai Mikurube <dmikurube at google.com>  2010-11-15 04:01:21 PST ---
I found that LayoutTests assume that the current behavior is correct. But I could not find any description on it. Does someone know whether there are some descriptions on it in the HTML5 Spec?

I tried writing a patch for more natural behavior.


In LayoutTests/fast/forms/input-stepup-stepdown.html :

For <input type="number" step="2" min="0" value="1" />
stepUp() => should be 4. (Looks like 2 is more natural.)

For <input type="number" step="10" min="0" value="9" />
stepUp(9) => should be 100. (Looks like 90 is more natural.)


In addition, stepDown() is expected to show a non-similar behavior. For example :

For <input type="number" step="10" min="0" value="19" />
stepDown() => should be 10.

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