Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e4957b99d3ef54a0e9bab240b4ef13071146797c
      
https://github.com/WebKit/WebKit/commit/e4957b99d3ef54a0e9bab240b4ef13071146797c
  Author: Nikolaos Mouchtaris <nmouchta...@apple.com>
  Date:   2025-07-31 (Thu, 31 Jul 2025)

  Changed paths:
    A LayoutTests/fast/scrolling/mac/scrollend-event-scroll-snap-expected.txt
    A LayoutTests/fast/scrolling/mac/scrollend-event-scroll-snap.html
    M Source/WebCore/page/scrolling/ScrollingCoordinatorTypes.cpp
    M Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.cpp
    M Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.h
    M 
Source/WebCore/page/scrolling/ThreadedScrollingTreeScrollingNodeDelegate.cpp

  Log Message:
  -----------
  Suppress scrollend events for scroll snap
https://bugs.webkit.org/show_bug.cgi?id=296404
rdar://156549223

Reviewed by Simon Fraser.

Prevent sending scrollend events if there is an ongoing scroll snap.

* LayoutTests/fast/scrolling/mac/scrollend-event-scroll-snap-expected.txt: 
Added.
* LayoutTests/fast/scrolling/mac/scrollend-event-scroll-snap.html: Added.
* Source/WebCore/page/scrolling/ScrollingCoordinatorTypes.cpp:
(WebCore::operator<<):
* Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.cpp:
(WebCore::ScrollingTreeScrollingNode::didStopAnimatedScroll):
(WebCore::ScrollingTreeScrollingNode::didStopWheelEventScroll):
(WebCore::ScrollingTreeScrollingNode::didStopProgrammaticScroll):
(WebCore::ScrollingTreeScrollingNode::handleScrollPositionRequest):
* Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.h:
* Source/WebCore/page/scrolling/ThreadedScrollingTreeScrollingNodeDelegate.cpp:
(WebCore::ThreadedScrollingTreeScrollingNodeDelegate::didStopScrollSnapAnimation):

Canonical link: https://commits.webkit.org/298089@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

Reply via email to