<?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>20240</bug_id>
          
          <creation_ts>2012-12-04 19:00:57 +0000</creation_ts>
          <short_desc>Pointer Event and Click</short_desc>
          <delta_ts>2012-12-04 19:03:03 +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>WORKSFORME</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>public-pointer-events</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>79427</commentid>
    <comment_count>0</comment_count>
    <who name="Jacob Rossi [MSFT]">jrossi</who>
    <bug_when>2012-12-04 19:00:57 +0000</bug_when>
    <thetext>From: Daniel Freedman &lt;dfreedm@google.com&gt; 
Date: Thu, 29 Nov 2012 16:21:49 -0800
Message-ID: &lt;CAAUAVAhuTu+eeOoah1hM7k334xwo3mPcVEavx4eubsSJipb_eA@mail.gmail.com&gt; 
To: public-pointer-events@w3.org 

Hi, I&apos;m working on a PointerEvents polyfill and I&apos;ve run into an odd note
in the spec.
In section 7, click is explicitly excluded from the compatibility mouse
events, leaving no good way to control the generation of click events.

This brings to mind a few issues:

1. If a developer uses pointerdown.preventDefault, they could receive click
events without a mousedown/mouseup. This seems very strange.

2. There are cases in which a developer would want to conditionally react
to a click based on pointer movement. If the click event cannot be
prevented by pointermove, the only option is to try and prevent the next
click, which has potential for buggy interaction.

3. If click events are not provided by the browser, developers will try to
make their own with pointerdown/up pairs, which is wasted effort.

4. Touch Events provide the ability to control click event generation, and
developers familiar with that system will understand how it behaves.

With these points in mind, would it be possible to add the control of click
events to Pointer Events?

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79428</commentid>
    <comment_count>1</comment_count>
    <who name="Jacob Rossi [MSFT]">jrossi</who>
    <bug_when>2012-12-04 19:03:03 +0000</bug_when>
    <thetext>This issue was resolved on the mailing list:
http://lists.w3.org/Archives/Public/public-pointer-events/2012OctDec/0078.html
http://lists.w3.org/Archives/Public/public-pointer-events/2012OctDec/0089.html


From: Daniel Freedman [mailto:dfreedm@google.com] 
Sent: Monday, December 3, 2012 2:45 PM
To: Scott González
Cc: Jacob Rossi; public-pointer-events@w3.org
Subject: Re: Pointer Events and click

Hmm, I realize now that all the use cases I had thought of are really &quot;gesture&quot; related, and would thus fall out of scope.
The arguments about why preventDefault() only stops mouse* events makes sense, and that preventDefault pointerdown will prevent the defaults of mousedown as well is good to know.

Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>