[webkit-dev] Mouse wheel event precision
pkasting at google.com
Thu Jun 10 13:01:24 PDT 2010
On Thu, Jun 10, 2010 at 12:26 PM, David Hyatt <hyatt at apple.com> wrote:
> There are Web sites that depend on never scrolling less than 1 wheel delta
> line though. So what can we do to get the best of both worlds?
Can we keep a count of the "total delta not yet sent to the page", and each
time it overflows one wheel delta, send the number of whole wheel deltas and
decrement the counter? Or is that what you were suggesting?
Unfortunately I don't see how we can simultaneously do this and yet still
send smaller deltas for pages that support them. Perhaps we could split
"scrolling handled by WebKit" and "events sent to script on the page" and
use the fine-grained data in the first and the coarse data in the second?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev