Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9f579371678508d1445d6b906bce3507522310f3
      
https://github.com/WebKit/WebKit/commit/9f579371678508d1445d6b906bce3507522310f3
  Author: Wenson Hsieh <[email protected]>
  Date:   2025-03-16 (Sun, 16 Mar 2025)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h
    M Source/WebKit/UIProcess/mac/WebViewImpl.h
    M Source/WebKit/UIProcess/mac/WebViewImpl.mm

  Log Message:
  -----------
  [macOS] Add support for extending background colors beyond fixed-position 
containers when obscured insets are set
https://bugs.webkit.org/show_bug.cgi?id=289877
rdar://147177776

Reviewed by Abrar Rahman Protyasha.

Add support for extending background colors beyond fixed-position containers, 
on sides with nonzero
obscured content insets.

* Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView 
_recalculateViewportSizesWithMinimumViewportInset:maximumViewportInset:throwOnInvalidInput:]):
(-[WKWebView _coreFixedContainerEdges]):

Expose an internal getter for `WebCore::FixedContainerEdges`.

(-[WKWebView _updateFixedContainerEdges:]):
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h:
* Source/WebKit/UIProcess/mac/WebViewImpl.h:
* Source/WebKit/UIProcess/mac/WebViewImpl.mm:
(WebKit::WebViewImpl::updateFixedContentExtensionViews):

Add a new helper method to update extension views for fixed-position containers.

Canonical link: https://commits.webkit.org/292256@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to