iOS 11 Safari drag-n-drop is not standard

Originator:darryl
Number:rdar://32596156 Date Originated:2017-06-06
Status:Open Resolved:
Product:iOS Product Version:11
Classification:WebKit Reproducible:Always
 
Summary:
Drag & Drop support in Safari on iOS 11 is implemented using a CSS "-webkit-user-drag: element" style.  The HTML standard specified a `draggable` attribute to be used for this purpose.

Steps to Reproduce:
Create an HTML element with the `draggable` attribute: <div draggable="true">Hello World</div>

Expected Results:
The div element should be draggable.

Observed Results:
The div element is not draggable in Safari on iOS 11.

Version:
Safari on iOS 11 beta simulator (15A5278f)

Notes:
A workaround is probably to add global CSS to the project that does something like this:

[draggable="true"] { -webkit-user-drag: element; }

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!