[whatwg] [editing] Drag&drop and editable content

Alfonso Martínez de Lizarrondo amla70 at gmail.com
Sat Sep 3 10:20:34 PDT 2011


In https://bugs.webkit.org/show_bug.cgi?id=3582#c4 it's stated that
Drag&drop is implemented in Webkit following the HTML5 spec.

I've heard other times that drag&drop is too complex, or that it has some
problems, but I want to focus only on editable content. As can be seen in
this sample https://bugs.webkit.org/show_bug.cgi?id=57185 following that
spec doesn't make sense for editable content, there's no Drop event if the
DragOver isn't canceled and then the default behavior of drag&drop doesn't
work.

The fact is that the browser is providing a different behavior right now by
the fact that it automatically accepts the dropped content, so I would argue
that the Drop event should fire in this case.

I'm specially worried if other browsers would implement just the same
behavior and stop firing the Drop event.

Regards


More information about the whatwg mailing list