Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 432af03e413a4e40c73364d8f4711ed344676193 https://github.com/WebKit/WebKit/commit/432af03e413a4e40c73364d8f4711ed344676193 Author: Nikolaos Mouchtaris <nmouchta...@apple.com> Date: 2025-07-17 (Thu, 17 Jul 2025)
Changed paths: A LayoutTests/fast/scrolling/mac/scrollend-event-user-scroll-basic-expected.txt A LayoutTests/fast/scrolling/mac/scrollend-event-user-scroll-basic.html M Source/WebCore/dom/Document.cpp M Source/WebCore/dom/Document.h M Source/WebCore/page/LocalFrameView.cpp M Source/WebCore/page/LocalFrameView.h M Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp M Source/WebCore/platform/ScrollableArea.h M Source/WebCore/rendering/RenderLayerScrollableArea.cpp M Source/WebCore/rendering/RenderLayerScrollableArea.h M Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingTree.cpp M Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingTree.h M Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingTreeMac.h M Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingTreeMac.mm Log Message: ----------- Implement basic scrollend event firing https://bugs.webkit.org/show_bug.cgi?id=295661 rdar://155466666 Reviewed by Simon Fraser. Implement basic scrollend event firing by adding scrollend event target list on Document, and populating it via AsyncScrollingCoordinator callbacks from the UI process indicating that a scroll ended for a particular element. * LayoutTests/fast/scrolling/mac/scrollend-event-user-scroll-basic-expected.txt: Added. * LayoutTests/fast/scrolling/mac/scrollend-event-user-scroll-basic.html: Added. * Source/WebCore/dom/Document.cpp: (WebCore::Document::commonTeardown): (WebCore::Document::addPendingScrollendEventTarget): (WebCore::Document::runScrollSteps): * Source/WebCore/dom/Document.h: * Source/WebCore/page/LocalFrameView.cpp: (WebCore::LocalFrameView::scrollDidEnd): (WebCore::LocalFrameView::scheduleScrollEvent): * Source/WebCore/page/LocalFrameView.h: * Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp: (WebCore::AsyncScrollingCoordinator::wheelEventScrollDidEndForNode): * Source/WebCore/platform/ScrollableArea.h: (WebCore::ScrollableArea::scrollDidEnd): (WebCore::ScrollableArea::isAwaitingScrollend const): (WebCore::ScrollableArea::setIsAwaitingScrollend): * Source/WebCore/rendering/RenderLayerScrollableArea.cpp: (WebCore::RenderLayerScrollableArea::scrollTo): (WebCore::RenderLayerScrollableArea::scrollDidEnd): * Source/WebCore/rendering/RenderLayerScrollableArea.h: * Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingTree.cpp: (WebKit::RemoteScrollingTree::scrollingTreeNodeDidStopWheelEventScroll): * Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingTree.h: * Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingTreeMac.h: * Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingTreeMac.mm: (WebKit::RemoteScrollingTreeMac::scrollingTreeNodeDidStopWheelEventScroll): Canonical link: https://commits.webkit.org/297567@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes