[Webkit-unassigned] [Bug 60871] HTML5 Number Spinbox displays a 0 in situations where a 0 is not between the min and max.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 16 00:29:19 PDT 2011


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


Kent Tamura <tkent at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #93614|review?                     |review-
               Flag|                            |




--- Comment #5 from Kent Tamura <tkent at chromium.org>  2011-05-16 00:29:19 PST ---
(From update of attachment 93614)
View in context: https://bugs.webkit.org/attachment.cgi?id=93614&action=review

> Source/WebCore/html/HTMLInputElement.cpp:339
> -void HTMLInputElement::applyStep(double count, ExceptionCode& ec)
> +void HTMLInputElement::applyStep(double count, bool clearedByDefault, ExceptionCode& ec)

I don't think we need to handle such cases in applyStep().  We can handle such cases only in stepUpFromRenderer().
Also, a bool function parameter is not recommended.

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