Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 3eace12cf58fd2ab870702e46a4929b671429b92 https://github.com/WebKit/WebKit/commit/3eace12cf58fd2ab870702e46a4929b671429b92 Author: Tim Nguyen <n...@apple.com> Date: 2024-07-17 (Wed, 17 Jul 2024)
Changed paths: A LayoutTests/fast/viewport/ios/content-visibility-layout-viewport-during-unstable-scroll-expected.txt A LayoutTests/fast/viewport/ios/content-visibility-layout-viewport-during-unstable-scroll.html M Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm Log Message: ----------- Temporarily missing elements when scrolling a Google "places" search (content-visibility: auto) https://bugs.webkit.org/show_bug.cgi?id=276529 rdar://130375530 Reviewed by Simon Fraser. The layout viewport was not getting updated during an unstable scroll, which meant content-visibility would not update until scroll would be stabilized. Fix this by unconditionally updating the layout viewport. Also refactor some code to avoid duplicating the visual & layout viewport updates. * LayoutTests/fast/viewport/ios/content-visibility-layout-viewport-during-unstable-scroll-expected.txt: Added. * LayoutTests/fast/viewport/ios/content-visibility-layout-viewport-during-unstable-scroll.html: Added. * Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp: (WebCore::AsyncScrollingCoordinator::reconcileScrollingState): * Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm: (WebKit::WebPage::updateVisibleContentRects): Canonical link: https://commits.webkit.org/281074@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