[webkit-changes] [WebKit/WebKit] ca00a7: [SwiftUI] Support customizing the background color...
Richard Robinson
noreply at github.com
Sun Feb 16 22:38:34 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ca00a7c427587c20f1aaebc664283cefac5c49df
https://github.com/WebKit/WebKit/commit/ca00a7c427587c20f1aaebc664283cefac5c49df
Author: Richard Robinson <richard_robinson2 at apple.com>
Date: 2025-02-16 (Sun, 16 Feb 2025)
Changed paths:
M Source/WebKit/_WebKit_SwiftUI/View+WebViewModifiers.swift
M Source/WebKit/_WebKit_SwiftUI/WebViewRepresentable.swift
Log Message:
-----------
[SwiftUI] Support customizing the background color for WebView
https://bugs.webkit.org/show_bug.cgi?id=287783
rdar://144740155
Reviewed by Abrar Rahman Protyasha.
Expose functionality on WebView to allow eliding drawing the background of the webpage, similar to
the existing `isOpaque` and `_drawsBackground` functions.
* Source/WebKit/_WebKit_SwiftUI/View+WebViewModifiers.swift:
(View.webViewBackgroundRemoved(_:)):
* Source/WebKit/_WebKit_SwiftUI/WebViewRepresentable.swift:
(WebViewRepresentable.updatePlatformView(_:context:)):
Canonical link: https://commits.webkit.org/290470@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list