<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>97041</bug_id>
          
          <creation_ts>2012-09-18 13:41:05 -0700</creation_ts>
          <short_desc>Target can change between GestureTapDown and GestureTap</short_desc>
          <delta_ts>2015-08-11 18:11:56 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>UI Events</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>96677</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rick Byers">rbyers</reporter>
          <assigned_to name="Rick Byers">rbyers</assigned_to>
          <cc>allan.jensen</cc>
    
    <cc>kevers</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>723023</commentid>
    <comment_count>0</comment_count>
    <who name="Rick Byers">rbyers</who>
    <bug_when>2012-09-18 13:41:05 -0700</bug_when>
    <thetext>The point of GestureTapDown is to provide UI feedback to the user about what they&apos;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&apos;t match, dispatch a TapCancel instead

See bug 96677 and http://code.google.com/p/chromium/issues/detail?id=132439 for some more discussion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>732633</commentid>
    <comment_count>1</comment_count>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2012-10-02 07:10:45 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1116812</commentid>
    <comment_count>2</comment_count>
    <who name="Rick Byers">rbyers</who>
    <bug_when>2015-08-11 18:11:56 -0700</bug_when>
    <thetext>Haven&apos;t really seen issues from this, I don&apos;t think we ever did anything to address it in blink either.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>