<?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>133114</bug_id>
          
          <creation_ts>2014-05-20 02:41:00 -0700</creation_ts>
          <short_desc>Implement &quot;touch-action:manipulation&quot; Pointer Events CSS property to suppress 300ms touch &gt; mouse compatibility events delay</short_desc>
          <delta_ts>2019-02-06 09:19:17 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>133112</dup_id>
          
          <bug_file_loc>https://dvcs.w3.org/hg/pointerevents/raw-file/tip/pointerEvents.html#the-touch-action-css-property</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Patrick H. Lauke">redux</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>j.tangelder</cc>
    
    <cc>rbyers</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1010439</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick H. Lauke">redux</who>
    <bug_when>2014-05-20 02:41:00 -0700</bug_when>
    <thetext>Although there seems to be no immediate desire to implement the full Pointer Events specification (see https://bugs.webkit.org/show_bug.cgi?id=105463), it may be worth considering at least supporting the touch-action:manipulation CSS property/value. 
This recent addition (the &quot;manipulation&quot; value) to the Pointer Events specification is used - in essence - to allow developers to suppress the classic 300ms delay present on touchscreen devices that by default allows for &quot;double-tap to zoom&quot;, while retaining other abilities such as scrolling and pinch-to-zoom. It offers a compromise to the often drastic preventDefault() commonly used in touch-optimised applications (which does remove the 300ms delay, but also kills any other default interactions).

touch-action:manipulation is on track to be rolled out in both Firefox and Chrome - see

&quot;Bug 979345 - Implement &quot;touch-action: manipulation&quot; CSS value for Pointer Events&quot; https://bugzilla.mozilla.org/show_bug.cgi?id=979345
&quot;Issue 349016:	Add support for touch-action: manipulation&quot; https://code.google.com/p/chromium/issues/detail?id=349016</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1010440</commentid>
    <comment_count>1</comment_count>
    <who name="Patrick H. Lauke">redux</who>
    <bug_when>2014-05-20 02:44:33 -0700</bug_when>
    <thetext>For further context, see also &quot;Optimizations to remove 300ms touch &gt; mouse events delay&quot; https://bugs.webkit.org/show_bug.cgi?id=122212</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1010445</commentid>
    <comment_count>2</comment_count>
    <who name="Jorik Tangelder">j.tangelder</who>
    <bug_when>2014-05-20 02:59:39 -0700</bug_when>
    <thetext>I&apos;m more interested in the fact that this makes it easier to detect gestures, without doing al kinds of crazy tricks in the event handlers. That it has the ability to remove the 300ms is cool, but not the main function of the property.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1010483</commentid>
    <comment_count>3</comment_count>
    <who name="Rick Byers">rbyers</who>
    <bug_when>2014-05-20 07:16:15 -0700</bug_when>
    <thetext>See also bug 133114 which proposes adding all of touch-action to WebKit.

Note that there&apos;s an argument to be made that disabling double-tap zoom on portions of a UI (or even on some pages but not others) is inconsistent and leads only the user confusion.  The counter-argument is that web developers are largely doing this already using libraries like FastClick (I believe FastClick or something like it is in use on most major mobile-optimized websites).  But those libraries come with other downsides (bugs, perf impact, loss of touch adjustment, other browser UI features unnecessarily disabled, etc.).

So my opinion is that we might as well give developers a simple reliable switch to clearly toggle the behavior they otherwise struggle to change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1010484</commentid>
    <comment_count>4</comment_count>
    <who name="Rick Byers">rbyers</who>
    <bug_when>2014-05-20 07:17:24 -0700</bug_when>
    <thetext>Sorry, that&apos;s bug 133112 that suggests adding all of touch-action.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1010531</commentid>
    <comment_count>5</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2014-05-20 09:59:24 -0700</bug_when>
    <thetext>Let&apos;s merge :)

*** This bug has been marked as a duplicate of bug 133112 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1503352</commentid>
    <comment_count>6</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2019-02-06 09:19:17 -0800</bug_when>
    <thetext>Mass move bugs into the DOM component.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>