Files
ladybird/Tests/LibWeb/Text/expected/HTML/drag-and-drop.txt
Timothy Flynn e8a1b89447 LibWeb: Begin implementing the drag-and-drop processing model
The drag-and-drop processing model allows for users to drag around
either elements within the DOM or objects completely outside the DOM.
This drag event can either end without action (via cancellation or user
input), or in a drop event, where the dragged object is dropped onto
another element within the DOM.

The processing model is rather large. This implements enough of it to
allow the UI process to specifically handle dragging objects outside of
the DOM onto the DOM. For example, dragging an image from the OS file
manager onto a file-upload input element. This does not implement the
ability to drag DOM elements.
2024-08-19 13:29:19 +02:00

27 lines
268 B
Plaintext

Simple drag and drop:
dragenter
dragover
drop
Drag enter and leave:
dragenter
dragover
dragleave
dragenter
dragover
drop
Drag enter not accepted:
dragenter
Drag over not accepted:
dragenter
dragover
dragover
dragleave
Drop not accepted:
dragenter
dragover
drop