Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3f238a01e7f863ec83ce9cc1e6936fec12c14578
      
https://github.com/WebKit/WebKit/commit/3f238a01e7f863ec83ce9cc1e6936fec12c14578
  Author: Wenson Hsieh <wenson_hs...@apple.com>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M Source/WebKit/UIProcess/mac/WKFullScreenWindowController.mm

  Log Message:
  -----------
  Followup to 299240@main — fix flashing when entering element fullscreen, if 
the sidebar is open
https://bugs.webkit.org/show_bug.cgi?id=298001
rdar://158063198

Reviewed by Abrar Rahman Protyasha.

Make a small adjustment to the fix in 299240@main: when computing 
`-scrollViewFrame`, subtract the
horizontal obscured content insets from the bounds, which is both consistent 
with `WKWebView`, and
allows AppKit to automatically hide the title bar's scroll pocket (in favor of 
the placeholder
view's scroll pocket).

* Source/WebKit/UIProcess/mac/WKFullScreenWindowController.mm:
(-[WKFullScreenPlaceholderView scrollViewFrame]):
(-[WKFullScreenPlaceholderView setTopScrollPocket:obscuredContentInsets:]):
(-[WKFullScreenPlaceholderView _recomputeScrollPocketFrame]):
(-[WKFullScreenWindowController 
_continueEnteringFullscreenAfterPostingNotification:]):
(-[WKFullScreenPlaceholderView setTopScrollPocket:topContentInset:]): Deleted.

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

Reply via email to