<?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>25147</bug_id>
          
          <creation_ts>2014-03-25 18:16:10 +0000</creation_ts>
          <short_desc>What should happen when element.setPointerCapture is called while the pointer is already being captured?</short_desc>
          <delta_ts>2014-06-03 05:26: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>Linux</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="Olli Pettay">bugs</reporter>
          <assigned_to name="Jacob Rossi [MSFT]">jrossi</assigned_to>
          <cc>nekr.fabula</cc>
    
    <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>102891</commentid>
    <comment_count>0</comment_count>
    <who name="Olli Pettay">bugs</who>
    <bug_when>2014-03-25 18:16:10 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/pointerevents/raw-file/tip/pointerEvents.html#setting-pointer-capture
doesn&apos;t say anything about this case.

Bug 24971 is related, but not the same issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103858</commentid>
    <comment_count>1</comment_count>
    <who name="Jacob Rossi [MSFT]">jrossi</who>
    <bug_when>2014-04-15 04:42:32 +0000</bug_when>
    <thetext>The proposal in Comment 5 of Bug 24971 would address this:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24971#c5

setPointerCapture/releasePointerCapture set and clear the &quot;pending&quot; capture node.

Capture is changed to the &quot;pending&quot; capture node ( and gotpointercapture/lostpointercapture fired) when a UA is to fire the next pointer event for the pointer.

Thus, multiple calls before the next event are essentially coalesced to one change of capture. Furthermore, calling elm.setPointerCapture(id) when elm already is the capture node for the pointer does not generate a change of capture (or the got/lost events).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107175</commentid>
    <comment_count>2</comment_count>
    <who name="Jacob Rossi [MSFT]">jrossi</who>
    <bug_when>2014-06-03 05:26:03 +0000</bug_when>
    <thetext>Fixed in resolution to Bug 24971
https://dvcs.w3.org/hg/pointerevents/rev/06a63f400a2a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>