[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
Tue Nov 16 19:10:58 PST 2010


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





--- Comment #20 from Dai Mikurube <dmikurube at google.com>  2010-11-16 19:10:58 PST ---
(In reply to comment #19)

JavaScript APIs showed different results.

It does nothing for step-mismatching vallues.
0.00392156863 stepUp() by 255 times => 1.


1. <input type="number" step="1" min="0" max="9.9" value="8.7" />
2. stepUp() => 8.7

1. <input type="number" step="1" min="0" max="9.9" value="8.7" />
2. stepDown() => 8.7

1. <input type="number" step="1" min="0" max="10.9" value="8.7" />
2. stepUp() => 8.7

1. <input type="number" step="1" min="0" max="10.9" value="8.7" />
2. stepDown() => 8.7

1. <input type="number" step="2" min="0" value="1" />
2. stepUp() => 1

1. <input type="number" step="10" min="0" value="9" />
2. stepUp(9) => 9

1. <input type="number" step="10" min="0" value="19" />
2. stepDown() => 19

1. <input type="number" min="0" value="0" step="0.00392156863" /> (No "max")
2. stepUp() for 255 times. => 1

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