Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1626a43b85c9e19cb35cab1d7f752749a31fd55f
      
https://github.com/WebKit/WebKit/commit/1626a43b85c9e19cb35cab1d7f752749a31fd55f
  Author: Dean Jackson <[email protected]>
  Date:   2022-10-21 (Fri, 21 Oct 2022)

  Changed paths:
    M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm

  Log Message:
  -----------
  Clamp fullscreen window size based on video dimensions
https://bugs.webkit.org/show_bug.cgi?id=246883
<rdar://problem/101439923>

Reviewed by Aditya Keerthi.

We have a preferred size for fullscreen windows, and then we try to fit video
into that size. But if the video is an unusual aspect ratio, we can
accidentally create windows that escape the bounds.

* Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:
(-[WKFullScreenWindowController enterFullScreen:]): Clamp the window size to
the preferred dimensions.

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to