mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Pieces of the down, move, and up handlers are moved to separate functions. Some part actually have specs, so the ones I've found thus far have been brought in to make things more spec-aligned. A lot of FIXMEs are added for things that the spec mentions or implies. Pointer events are intended to be handled per pointer device, but this still treats them the same as legacy mouse events. However, the PREVENT MOUSE EVENT flag is implemented to block legacy mouse events for the duration of a drag. Behavior changes should be minimal. One notable change is that auxclick is now fired for all non-primary buttons, which matches the spec and other browsers.
11 lines
122 B
Plaintext
11 lines
122 B
Plaintext
> preventing pointerdown
|
|
pointerdown
|
|
pointerup
|
|
click
|
|
> preventing mousedown
|
|
pointerdown
|
|
mousedown
|
|
pointerup
|
|
mouseup
|
|
click
|