Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5a0861728608a38c536bfebbc4160e60d81b02ff
https://github.com/WebKit/WebKit/commit/5a0861728608a38c536bfebbc4160e60d81b02ff
Author: Lily Spiniolas <[email protected]>
Date: 2026-04-27 (Mon, 27 Apr 2026)
Changed paths:
A
LayoutTests/fast/events/touch/ios/touch-event-regions-layer-tree/mousemove-mouseup-expected.txt
A
LayoutTests/fast/events/touch/ios/touch-event-regions-layer-tree/mousemove-mouseup.html
M Source/WebCore/rendering/EventRegion.cpp
Log Message:
-----------
`eventTypeForEventListenerType` has incorrect mappings for `mousemove` and
`mouseup`
https://bugs.webkit.org/show_bug.cgi?id=313386
rdar://175651369
Reviewed by Richard Robinson, Tim Nguyen, and Ryosuke Niwa.
Map `EventListenerRegionType::NonPassiveMouseMove` to
`EventTrackingRegionsEventType::Mousemove` and
`EventListenerRegionType::NonPassiveMouseUp` to
`EventTrackingRegionsEventType::Mouseup` instead of
vice-versa.
Added tests:
LayoutTests/fast/events/touch/ios/touch-event-regions-layer-tree/mousemove-mouseup.html
*
LayoutTests/fast/events/touch/ios/touch-event-regions-layer-tree/mousemove-mouseup-expected.txt:
Added.
*
LayoutTests/fast/events/touch/ios/touch-event-regions-layer-tree/mousemove-mouseup.html:
Added.
* Source/WebCore/rendering/EventRegion.cpp:
(WebCore::eventTypeForEventListenerType):
Canonical link: https://commits.webkit.org/312142@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications