Bug 246883

Summary: Clamp fullscreen window size based on video dimensions
Product: WebKit Reporter: Dean Jackson <dino>
Component: MediaAssignee: Dean Jackson <dino>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Description Dean Jackson 2022-10-21 13:45:00 PDT
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.
Comment 1 Radar WebKit Bug Importer 2022-10-21 13:45:22 PDT
<rdar://problem/101439923>
Comment 2 Dean Jackson 2022-10-21 13:50:47 PDT
https://github.com/WebKit/WebKit/pull/5647
Comment 3 EWS 2022-10-21 16:15:16 PDT
Committed 255857@main (1626a43b85c9): <https://commits.webkit.org/255857@main>

Reviewed commits have been landed. Closing PR #5647 and removing active labels.