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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>20311</bug_id>
          
          <creation_ts>2012-12-09 00:00:34 +0000</creation_ts>
          <short_desc>Clarify touch-action is only looked at during pointerdown</short_desc>
          <delta_ts>2013-01-12 14:58:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>PointerEventsWG</product>
          <component>Pointer Events specification</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jacob Rossi [MSFT]">jrossi</reporter>
          <assigned_to name="Jacob Rossi [MSFT]">jrossi</assigned_to>
          <cc>art.barstow</cc>
    
    <cc>dfreedm</cc>
    
    <cc>public-pointer-events</cc>
    
    <cc>rbyers</cc>
          
          <qa_contact name="Pointer Events Bugzilla list">public-pointer-events-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>79769</commentid>
    <comment_count>0</comment_count>
    <who name="Jacob Rossi [MSFT]">jrossi</who>
    <bug_when>2012-12-09 00:00:34 +0000</bug_when>
    <thetext>You’re absolutely right.  The intended design is that you only care about the value of touch-action on the target element of the pointerdown event. After that, it doesn’t matter what the value of touch-action is on elements you drag over. 

Additionally, I think it should be clarified that the value of touch-action is checked prior to dispatching pointerdown (e.g. modifications to touch-action during the event won’t be honored for that pointer). This, of course, is fundamental to ensure the performance optimizations for threaded scrolling that touch-action is intended to enable.

-Jacob 

From: Daniel Freedman [mailto:dfreedm@google.com] 
Sent: Friday, December 7, 2012 2:34 PM
To: public-pointer-events@w3.org
Subject: Clarification of event generation with respect to touch-action

In section 6.1, the description of &quot;none&quot; for touch-action states that touches that begin on those elements will not perform default actions.
However, it is not stated if events may still be generated after the touch leaves that element with touch-action: none.

In the MSPointerEvent implementation, further MSPointerMoves are dispatched to elements that can have touch-action: auto or touch-action: inherit. Is this what is expected for PointerEvents as well? Can this be made more explicit?

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80911</commentid>
    <comment_count>1</comment_count>
    <who name="Jacob Rossi [MSFT]">jrossi</who>
    <bug_when>2013-01-05 00:03:43 +0000</bug_when>
    <thetext>I believe there’s some language missing from the spec to clear things up. Here’s perhaps a more concise description of the behavior (emphasis on the last sentence):

When a user touches an element, that element&apos;s -ms-touch-action property determines the default touch behaviors permitted for that contact, like panning or zooming. The touch behavior is then performed on the nearest ancestor element that is capable of that behavior, unless an intermediate ancestor element specifies that the behavior is not permitted.

Would adding that clear things up?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80938</commentid>
    <comment_count>2</comment_count>
    <who name="Arthur Barstow">art.barstow</who>
    <bug_when>2013-01-05 12:57:28 +0000</bug_when>
    <thetext>A nit here: I think you want to remove the &quot;ms&quot; prefix for touch-action.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81028</commentid>
    <comment_count>3</comment_count>
    <who name="Rick Byers">rbyers</who>
    <bug_when>2013-01-08 04:51:56 +0000</bug_when>
    <thetext>That sounds reasonable to me, and is certainly an important detail that was missing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81206</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Freedman">dfreedm</who>
    <bug_when>2013-01-10 21:52:16 +0000</bug_when>
    <thetext>That sounds good to me. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81305</commentid>
    <comment_count>5</comment_count>
    <who name="Jacob Rossi [MSFT]">jrossi</who>
    <bug_when>2013-01-12 14:58:30 +0000</bug_when>
    <thetext>Great, I&apos;ve made this change.

https://dvcs.w3.org/hg/pointerevents/rev/dfe657176445
Resolution: http://www.w3.org/2013/01/08-pointerevents-minutes.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>