Bug 193078

Summary: WKWebView ignores Element.webkitRequestFullscreen.
Product: WebKit Reporter: Ram <quadrupleslap>
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Enhancement CC: ajuma, beidson, bfulgham, herr.ernst, jer.noble, jespertheend, karl+webkit, quadrupleslap, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari 12   
Hardware: Mac   
OS: macOS 10.14   

Description Ram 2019-01-02 10:52:28 PST
If this actually hasn't been implemented, I like how Edge does it, where the web view has a `ContainsFullscreenElement` property and a `ContainsFullscreenElementChanged` event, and a fullscreen element doesn't do anything other than fill the web view.
Comment 1 Jer Noble 2019-01-04 10:42:53 PST
Brady and I were talking about this earlier; the current fullscreen implementation for Safari will rip the WKWebView out of its view hierarchy. Fullscreen isn't enabled by default because that's super problematic for third party clients who may not expect such behavior. One alternative may be to require clients to implement a set of WKWebView fullscreen delegate methods, and have the client worry about getting their WKWebView into some kind of "full screen" presentation state.
Comment 2 karl 2021-10-13 00:29:12 PDT
This creates a webcompat issue.
https://github.com/webcompat/web-bugs/issues/68762
Comment 3 Radar WebKit Bug Importer 2024-02-08 15:17:19 PST
<rdar://problem/122586538>