What an element does in drag and drop: it can be dragged when it has data, and things are dropped on it when accepts accepts their data. While something is dragged its source is :dragging, and the drop target under the pointer that accepts it is :drag-over; a ghost with label follows the pointer.