Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: ce53ae2a57311661937f5a7eec264bf6ff35daa9 https://github.com/WebKit/WebKit/commit/ce53ae2a57311661937f5a7eec264bf6ff35daa9 Author: Wenson Hsieh <wenson_hs...@apple.com> Date: 2025-04-14 (Mon, 14 Apr 2025)
Changed paths: M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm M Source/WebKit/UIProcess/ios/UIKitUtilities.h M Source/WebKit/UIProcess/ios/UIKitUtilities.mm M Source/WebKit/UIProcess/ios/WKScrollView.h M Source/WebKit/UIProcess/ios/WKScrollView.mm Log Message: ----------- [Cocoa] Adjust content inset background fill views for fixed container edges https://bugs.webkit.org/show_bug.cgi?id=291503 rdar://149178053 Reviewed by Megan Gardner. See below for more details. * Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _recalculateViewportSizesWithMinimumViewportInset:maximumViewportInset:throwOnInvalidInput:]): Remove the call to `updateContentInsetFillViews()` here, now that `_updateFixedColorExtensionViews` will also update content inset fill views on macOS. (-[WKWebView _updateFixedColorExtensionViews]): On iOS, keep track of all edges with fixed color extension views, and update `WKScrollView` accordingly. On macOS, call through to `updateContentInsetFillViews()`. * Source/WebKit/UIProcess/ios/UIKitUtilities.h: * Source/WebKit/UIProcess/ios/UIKitUtilities.mm: (WebKit::uiRectEdgeForSide): * Source/WebKit/UIProcess/ios/WKScrollView.h: * Source/WebKit/UIProcess/ios/WKScrollView.mm: Canonical link: https://commits.webkit.org/293661@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