W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2011

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

From: Alfonso Martínez de Lizarrondo <amla70@gmail.com>
Date: Sat, 3 Sep 2011 19:20:34 +0200
Message-ID: <CAH_vUwbktcVEPzPHzsXNNSVU2T8nvVh5tcLsSVKe1SaM-K7cjQ@mail.gmail.com>
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

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.

Received on Saturday, 3 September 2011 10:20:34 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:36 UTC