Summary: | Touch force values can be outside the valid range on Android | ||
---|---|---|---|
Product: | WebKit | Reporter: | Rick Byers <rbyers> |
Component: | DOM | Assignee: | Ben Murdoch <benm> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | peter |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Android | ||
OS: | Android |
Description
Rick Byers
2012-07-19 16:54:49 PDT
+peter who said he could look into this. benm said: Force correlates to the Android MotionEvent.getPressure API, which the documentation states that the value "generally ranges from 0 (no pressure at all) to 1 (normal pressure), however values higher than 1 may be generated depending on the calibration of the input device." Would it be reasonable to just trunacte the values we get out of the Android API at 1 in order to be compliant? Obsolete. Fixed in chromium. Mass move bugs into the DOM component. |