Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b5b1da78a7e86be9812629d7397c2aa7d52a3e77
https://github.com/WebKit/WebKit/commit/b5b1da78a7e86be9812629d7397c2aa7d52a3e77
Author: Brent Fulgham <[email protected]>
Date: 2026-05-20 (Wed, 20 May 2026)
Changed paths:
M LayoutTests/fast/scrolling/ios/iframe-scroll-into-view.html
M LayoutTests/platform/ios/TestExpectations
Log Message:
-----------
REGRESSION(310935@main?):[iOS]
fast/scrolling/ios/iframe-scroll-into-view.html is a flaky failure with image
diff
https://bugs.webkit.org/show_bug.cgi?id=314022
rdar://176214070
Reviewed by Simon Fraser.
The test calls scrollIntoView() and immediately notifies the test runner to
take the
screenshot. On iOS, scrollIntoView() can trigger animated scrolling, so the
scroll may
not be visually complete when the screenshot is captured.
Switch to UIHelper.waitForTargetScrollAnimationToSettle() to wait until the
parent's
scroll position has stabilized before notifying the test runner. This helper
polls scroll
position over rAFs and works for both animated and non-animated scrolls.
* LayoutTests/fast/scrolling/ios/iframe-scroll-into-view.html: Add
requestAnimationFrame.
* LayoutTests/platform/ios/TestExpectations: Remove the flaky annotation.
Canonical link: https://commits.webkit.org/313574@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications