[Webkit-unassigned] [Bug 91192] New: [Forms] input type="number" doesn't causes step mismatch when step >= 2^24
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 12 22:45:55 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=91192
Summary: [Forms] input type="number" doesn't causes step
mismatch when step >= 2^24
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://jsfiddle.net/3c9D7/
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: yosin at chromium.org
In StepRange.cpp, acceptable error is defined as step / 2^FLT_MANT_DIG, where FLT_MANT_DIG = 24.
And, stepMismatch() returns true when acceptableError < remainder < (step - acceptableError).
Here is example calculation:
value = 2^24+1
step=2^24
acceptable error = 1
remainder=1
Then
stepMismatch = false since remainder(1) == acceptableError(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