<?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>134212</bug_id>
          
          <creation_ts>2014-06-23 13:34:18 -0700</creation_ts>
          <short_desc>Dragging aborts when source element moves away from mouse pointer.</short_desc>
          <delta_ts>2019-02-06 09:18:50 -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>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Tyler Waters">tyler.waters</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bgetson+bugzilla</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1017668</commentid>
    <comment_count>0</comment_count>
      <attachid>233631</attachid>
    <who name="Tyler Waters">tyler.waters</who>
    <bug_when>2014-06-23 13:34:18 -0700</bug_when>
    <thetext>Created attachment 233631
Test case showing the problem.

1. Open the attached file.
2. Drag the &apos;green&apos; portion of the box, note that dragging works.
3. Drag the &apos;red&apos; portion of the box, note that dragging does not work.

In the attached example, the &apos;dragstart&apos; adds a class that makes the box 50px in height - if you start the drag in the top-50px portion (the green bit) it works as expected -- if however you start the drag in the bottom portion, the height is restricted and the &apos;dragend&apos; event is fired immediately and no drag operation takes place. 

This is just on example -- moving the box by other means during the dragstart event will also raise the problem.... it seems that if the element cannot be found directly under the mouse position when the dragstart event finishes, the drag is aborted prematurely.

This works in FireFox(30) and IE(11), breaks in Chrome and Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1058221</commentid>
    <comment_count>1</comment_count>
    <who name="">bgetson+bugzilla</who>
    <bug_when>2014-12-30 17:56:23 -0800</bug_when>
    <thetext>I encountered this today and created https://code.google.com/p/chromium/issues/detail?id=445641, using http://jsfiddle.net/j9q66ja6/1/ as a demo.

Agreed that any change which moves the placement of the target element causes a problem (ex: position, padding, etc.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1503258</commentid>
    <comment_count>2</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2019-02-06 09:18:50 -0800</bug_when>
    <thetext>Mass move bugs into the DOM component.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>233631</attachid>
            <date>2014-06-23 13:34:18 -0700</date>
            <delta_ts>2014-06-23 13:34:18 -0700</delta_ts>
            <desc>Test case showing the problem.</desc>
            <filename>test-dragging.htm</filename>
            <type>text/html</type>
            <size>877</size>
            <attacher name="Tyler Waters">tyler.waters</attacher>
            
              <data encoding="base64">PCFkb2N0eXBlIGh0bWw+DQo8aHRtbD4NCjxoZWFkPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4N
CiNkcmFnIHsNCgl3aWR0aDoxMDBweDsNCgloZWlnaHQ6MTAwcHg7DQoJYm9yZGVyOjFweCBzb2xp
ZCBibGFjazsNCglwb3NpdGlvbjogcmVsYXRpdmU7DQp9DQojZHJhZy5kcmFnZ2luZyB7DQoJaGVp
Z2h0OiA1MHB4Ow0KCW92ZXJmbG93OiBoaWRkZW47DQp9DQojb2stcmVnaW9uIHsNCglwb3NpdGlv
bjphYnNvbHV0ZTsNCgl0b3A6IDA7DQoJaGVpZ2h0OiA1MHB4Ow0KCXdpZHRoOiAxMDAlOw0KCWJh
Y2tncm91bmQtY29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