Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 007473a35847ed155a15f5497ef1de88204f6aa9
https://github.com/WebKit/WebKit/commit/007473a35847ed155a15f5497ef1de88204f6aa9
Author: Simon Fraser <[email protected]>
Date: 2026-06-06 (Sat, 06 Jun 2026)
Changed paths:
M LayoutTests/platform/mac-wk2/TestExpectations
M Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.cpp
Log Message:
-----------
REGRESSION (314371@main): (macOS) fast/scrolling/Mac tests are flaky failures
https://bugs.webkit.org/show_bug.cgi?id=316455
rdar://178849808
Reviewed by Abrar Rahman Protyasha.
314371@main removed the `state->hasScrollPositionRequest()` check before
initializing `m_currentScrollPosition`
when the UI process receives a programmatic scroll; this caused an update with
an absolute scroll request to set
`m_currentScrollPosition`, resulting in code under
`handleScrollPositionRequests()` short-circuiting and
failing to reposition layers.
Fix by restoring the check for `hasScrollPositionRequest()` so that when the UI
process receives absolute
scroll requests, it does not set `m_currentScrollPosition`.
Tested by `fast/scrolling/mac/slow-scrolling-overflow.html` and
`fast/scrolling/mac/overflow-scrolled-document.html`.
* LayoutTests/platform/mac-wk2/TestExpectations:
* Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.cpp:
(WebCore::ScrollingTreeScrollingNode::commitStateBeforeChildren):
Canonical link: https://commits.webkit.org/314710@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications