Bug 76194
Summary: | event.dataTransfer.getData('text/plain') is undefined when dragging text in editable region | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
Component: | HTML Editing | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |