Bug 76194

Summary: event.dataTransfer.getData('text/plain') is undefined when dragging text in editable region
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, dbates, dcheng, dtrebbien, enrica, iliastsangaris, tony
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 57185    
Bug Blocks:    

Ryosuke Niwa
Reported 2012-01-12 11:28:25 PST
Per HTML5 spec, section 8.6.5. http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#drag-and-drop-processing-model, dragging and dropping text in editable region should also behave like regular drag & drop as far as scripts are concerned. In particular, event.dataTransfer.getData('text/plain') in dragstart, drop, & dragend should return the actual content being moved.
Attachments
Note You need to log in before you can comment on or make changes to this bug.