[Webkit-unassigned] [Bug 45491] when empty, clicking "down" on outer-spin-button returns "max value"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 29 00:23:07 PST 2010


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





--- Comment #37 from Dai Mikurube <dmikurube at google.com>  2010-11-29 00:23:07 PST ---
(In reply to comment #35)
> (From update of attachment 74988 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=74988&action=review
> 
> > WebCore/html/HTMLInputElement.cpp:1896
> > +    // (e.g. Stepping-up for <input type="number" value="foo" step="any" /> => "foo")
> 
> The example is wrong.  The value for <input type=number value=foo step=any> is "" because of sanitization.

Ok, thanks. Then, what do you mean by "invalid values" :
> We should add test cases with empty/invalid values and invalid/any step.
in #22 ?

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