[whatwg] Drag-and-drop feedback

Garrett Smith dhtmlkitchen at gmail.com
Mon Oct 12 17:10:28 PDT 2009


On Mon, Oct 12, 2009 at 4:37 AM, Ian Hickson <ian at hixie.ch> wrote:
> On Sun, 11 Oct 2009, Garrett Smith wrote:
>>
>> My question is:
>> Which browser does document.initDragEvent work in?
>
> Do you mean DragEvent.initDragEvent?
>

AH, yeah. The event is under "MouseEvent", then? So:-

document.createEvent("MouseEvents");

>
>> Document.initDragEvent is inordinately long and cumbersome, taking 16
>> arguments, and requiring the creation of a DataTransfer object. That
>> seems extremely cumbersome just to get a drag event to fire. This method
>> doesn't seem to be implemented anywhere FWICT. Was it copied from an
>> existing implementation? It seems to have been an invention. But whose?
>
> It's just the usual way things are done for events. I'll follow whatever
> DOM3 Events says to do.

Sorry, but I don't see how that answers my questions. It seems it was
not copied from existing implementations, but was instead an
invention.

Who wrote that API?

Garrett



More information about the whatwg mailing list