WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
97041
Target can change between GestureTapDown and GestureTap
https://bugs.webkit.org/show_bug.cgi?id=97041
Summary
Target can change between GestureTapDown and GestureTap
Rick Byers
Reported
2012-09-18 13:41:05 PDT
The point of GestureTapDown is to provide UI feedback to the user about what they're about to tap on (or already have tapped in some cases). However, if the page moves (or DOM changes) between TapDown and Tap, we will tap a different element than was highlighted to the user. Is this OK? Or perhaps we should do one of: 1) Save the target found for tap down, and re-use it for tap 2) Save the target found for tap down, and do another hit-test on tap but if it doesn't match, dispatch a TapCancel instead See
bug 96677
and
http://code.google.com/p/chromium/issues/detail?id=132439
for some more discussion.
Attachments
Add attachment
proposed patch, testcase, etc.
Allan Sandfeld Jensen
Comment 1
2012-10-02 07:10:45 PDT
One solution for this is do suspend active DOM objects while the finger is down. This is what I believe the out-of-trunk iPhone and Android branches does, and what Qt does in trunk using Page::suspendActiveDOMObjectsAndAnimations. This also has the benefit of smoother animations due to less things happening at the same time.
Rick Byers
Comment 2
2015-08-11 18:11:56 PDT
Haven't really seen issues from this, I don't think we ever did anything to address it in blink either.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug