Bug 76194 - event.dataTransfer.getData('text/plain') is undefined when dragging text in editable region
Summary: event.dataTransfer.getData('text/plain') is undefined when dragging text in e...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 57185
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-12 11:28 PST by Ryosuke Niwa
Modified: 2018-11-16 13:24 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 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.