Re: [whatwg] contentEditable and drag and drop cancel

2012-02-01 Thread Charles Pritchard
On 1/31/12 11:40 PM, Ryosuke Niwa wrote: On Tue, Jan 31, 2012 at 11:11 PM, Charles Pritchard ch...@jumis.com mailto:ch...@jumis.com wrote: On 1/31/12 10:55 PM, Ryosuke Niwa wrote: I think I understand what you're saying now. For your use case, you should use

Re: [whatwg] contentEditable and drag and drop cancel

2012-02-01 Thread Ryosuke Niwa
On Wed, Feb 1, 2012 at 12:07 AM, Charles Pritchard ch...@jumis.com wrote: The webkitdropzone semantic seems absolutely correct for text entry fields such as input text, contentEditable and textarea. But, the implementation in Chrome does not move the caret, and I don't see an easy way to

Re: [whatwg] contentEditable and drag and drop cancel

2012-02-01 Thread Daniel Cheng
The spec doesn't support wildcards today. Daniel On Wed, Feb 1, 2012 at 00:17, Ryosuke Niwa rn...@webkit.org wrote: On Wed, Feb 1, 2012 at 12:07 AM, Charles Pritchard ch...@jumis.comwrote: The webkitdropzone semantic seems absolutely correct for text entry fields such as input text,

Re: [whatwg] contentEditable and drag and drop cancel

2012-01-31 Thread Ryosuke Niwa
On Wed, Jan 18, 2012 at 4:11 PM, Charles Pritchard ch...@jumis.com wrote: What was the verdict, or what is the current position on using drag and drop dataTransfer with contentEditable? As I understand things: One must run ondragover = function() { return false; } to capture a drag and drop

Re: [whatwg] contentEditable and drag and drop cancel

2012-01-31 Thread Charles Pritchard
On 1/31/12 9:10 PM, Ryosuke Niwa wrote: On Wed, Jan 18, 2012 at 4:11 PM, Charles Pritchard ch...@jumis.com mailto:ch...@jumis.com wrote: What was the verdict, or what is the current position on using drag and drop dataTransfer with contentEditable? As I understand things: One

Re: [whatwg] contentEditable and drag and drop cancel

2012-01-31 Thread Ryosuke Niwa
On Tue, Jan 31, 2012 at 10:16 PM, Charles Pritchard ch...@jumis.com wrote: ** On 1/31/12 9:10 PM, Ryosuke Niwa wrote: On Wed, Jan 18, 2012 at 4:11 PM, Charles Pritchard ch...@jumis.comwrote: What was the verdict, or what is the current position on using drag and drop dataTransfer with

Re: [whatwg] contentEditable and drag and drop cancel

2012-01-31 Thread Ryosuke Niwa
On Tue, Jan 31, 2012 at 10:51 PM, Ryosuke Niwa rn...@webkit.org wrote: On Tue, Jan 31, 2012 at 10:16 PM, Charles Pritchard ch...@jumis.comwrote: ** Yes, that's correct -- I'm testing on Chrome. I'd like to drag and drop a file from the desktop into a position in the contentEditable with

Re: [whatwg] contentEditable and drag and drop cancel

2012-01-31 Thread Charles Pritchard
On 1/31/12 10:55 PM, Ryosuke Niwa wrote: On Tue, Jan 31, 2012 at 10:51 PM, Ryosuke Niwarn...@webkit.org wrote: On Tue, Jan 31, 2012 at 10:16 PM, Charles Pritchardch...@jumis.comwrote: ** Yes, that's correct -- I'm testing on Chrome. I'd like to drag and drop a file from the desktop into a

Re: [whatwg] contentEditable and drag and drop cancel

2012-01-31 Thread Ryosuke Niwa
On Tue, Jan 31, 2012 at 11:11 PM, Charles Pritchard ch...@jumis.com wrote: On 1/31/12 10:55 PM, Ryosuke Niwa wrote: I think I understand what you're saying now. For your use case, you should use dropzone content attribute: http://www.whatwg.org/specs/**web-apps/current-work/**

Re: [whatwg] contentEditable and drag and drop cancel

2012-01-31 Thread Ryosuke Niwa
I've filed https://bugzilla.mozilla.org/show_bug.cgi?id=723008. We'll see how that goes. Best, Ryosuke Niwa Software Engineer Google Inc. On Tue, Jan 31, 2012 at 11:40 PM, Ryosuke Niwa rn...@webkit.org wrote: On Tue, Jan 31, 2012 at 11:11 PM, Charles Pritchard ch...@jumis.comwrote: On

[whatwg] contentEditable and drag and drop cancel

2012-01-18 Thread Charles Pritchard
What was the verdict, or what is the current position on using drag and drop dataTransfer with contentEditable? As I understand things: One must run ondragover = function() { return false; } to capture a drag and drop data. By returning false, the default behavior of a contentEditable box,