[Webkit-unassigned] [Bug 48308] Too precise serialization from floating point number to string for "number" input elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 3 23:19:11 PDT 2010


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





--- Comment #33 from Kent Tamura <tkent at chromium.org>  2010-11-03 23:19:10 PST ---
(From update of attachment 72906)
View in context: https://bugs.webkit.org/attachment.cgi?id=72906&action=review

> WebCore/html/InputType.cpp:244
> +// decimalPlaces must be non-0..
> +double InputType::stepBaseWithDecimalPlaces(unsigned* decimalPlaces) const
> +{
> +    if (decimalPlaces)
> +        *decimalPlaces = 0;

The comment is confusing.  The code accepts decimalPlace==0.

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