Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 066e5bd1d32e27a05ef0df5f5554b5aa8d76f553 https://github.com/WebKit/WebKit/commit/066e5bd1d32e27a05ef0df5f5554b5aa8d76f553 Author: Simon Fraser <simon.fra...@apple.com> Date: 2022-12-07 (Wed, 07 Dec 2022)
Changed paths: M Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingTreeMac.h M Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingTreeMac.mm Log Message: ----------- [UI-side compositing] Ensure that wheel events got to the web process for JS event handlers https://bugs.webkit.org/show_bug.cgi?id=248846 Reviewed by Tim Horton. Override `eventListenerRegionTypesForPoint()` in RemoteScrollingTreeMac just as we do in ScrollingTreeMac to get the event handler details for a given point. We use this to know if we have to continue with the web process/main thread event handling path. * Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingTreeMac.h: * Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingTreeMac.mm: (WebKit::eventRegionForLayer): (WebKit::layerEventRegionContainsPoint): (WebKit::RemoteScrollingTreeMac::eventListenerRegionTypesForPoint const): Canonical link: https://commits.webkit.org/257531@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes