[webkit-dev] Mouse wheel event precision

Peter Kasting 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?

PK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100610/10d85048/attachment.html>


More information about the webkit-dev mailing list