WebKit Bugzilla
Attachment 349171 Details for
Bug 189424
: Drag image differs -webkit-user-drag element is inside a display:block vs. display:inline-block element
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Test case
drag-image-inline-block.html (text/html), 611 bytes, created by
Sam Weinig
on 2018-09-07 11:57:23 PDT
(
hide
)
Description:
Test case
Filename:
MIME Type:
Creator:
Sam Weinig
Created:
2018-09-07 11:57:23 PDT
Size:
611 bytes
patch
obsolete
><body> > >Dragging the two images below result in different drag images. The one on top does not include the associated "Text". The one below does. > ><br> ><br> ><br> > > ><div style="display: inline-block;"> > <div style="-webkit-user-drag: element;"> > <img src="http://i.imgur.com/tY8dZxC.jpg" style="will-change:transform;" draggable="false"> > Text > </div> ></div> > ><br> ><br> ><br> > ><div style="display: block;"> > <div style="-webkit-user-drag: element;"> > <img src="http://i.imgur.com/tY8dZxC.jpg" style="will-change:transform;" draggable="false"> > Text > </div> ></div> > ></body>
<body> Dragging the two images below result in different drag images. The one on top does not include the associated "Text". The one below does. <br> <br> <br> <div style="display: inline-block;"> <div style="-webkit-user-drag: element;"> <img src="http://i.imgur.com/tY8dZxC.jpg" style="will-change:transform;" draggable="false"> Text </div> </div> <br> <br> <br> <div style="display: block;"> <div style="-webkit-user-drag: element;"> <img src="http://i.imgur.com/tY8dZxC.jpg" style="will-change:transform;" draggable="false"> Text </div> </div> </body>
View Attachment As Raw
Actions:
View
Attachments on
bug 189424
: 349171