[webkit-changes] [WebKit/WebKit] d236d9: Set a default `tintColor` for `WKWebView` on tvOS

Wenson Hsieh noreply at github.com
Sun Sep 8 16:54:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d236d9672a8475b8811b9ed906824faed6907e86
      https://github.com/WebKit/WebKit/commit/d236d9672a8475b8811b9ed906824faed6907e86
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2024-09-08 (Sun, 08 Sep 2024)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm

  Log Message:
  -----------
  Set a default `tintColor` for `WKWebView` on tvOS
https://bugs.webkit.org/show_bug.cgi?id=279332
rdar://135355934

Reviewed by Abrar Rahman Protyasha.

Work around rdar://135515434 by setting a default tint color of `+systemBlueColor` on `WKWebView`.
This is intentionally applied to `WKWebView` as opposed to `WKContentView` (and also only upon
initialization), so that clients can still override this by setting an explicit tint color on the
web view if needed.

* Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _initializeWithConfiguration:]):

Canonical link: https://commits.webkit.org/283321@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