<?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>88745</bug_id>
          
          <creation_ts>2012-06-10 20:20:15 -0700</creation_ts>
          <short_desc>Elements nested in display-block parent have no drag image</short_desc>
          <delta_ts>2025-04-01 15:33:53 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.7</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=92439</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=35754</see_also>
          <bug_file_loc>http://jsfiddle.net/TrevorBurnham/8v5BN/</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="Trevor Burnham">trevorburnham</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>akeerthi</cc>
    
    <cc>enrica</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>645683</commentid>
    <comment_count>0</comment_count>
    <who name="Trevor Burnham">trevorburnham</who>
    <bug_when>2012-06-10 20:20:15 -0700</bug_when>
    <thetext>Test case: http://jsfiddle.net/TrevorBurnham/8v5BN/

When the wrapper is display: block, the block nested inside of it (with draggable=true) has a normal &quot;ghost image&quot; when dragged. But when the wrapper is display: inline-block, there is no visible image; just the mouse cursor. (The dragstart event does occur as expected.) This happens even if e.dataTransfer.setDragImage is called from the dragstart event handler.

The drag image renders as expected in Firefox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1920343</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-12-18 05:28:20 -0800</bug_when>
    <thetext>I am able to reproduce this bug in Safari 16.2 and STP160 and drag selection does not show any ghost image or anything, it just show the mouse cursor as mentioned in Comment 0.

Just wanted to share updated testing result and changing status to &quot;New&quot;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>