Title: [292097] trunk/Source/WebKit
Revision
292097
Author
[email protected]
Date
2022-03-30 00:03:38 -0700 (Wed, 30 Mar 2022)

Log Message

Window is too small after entering and exiting video/element fullscreen
https://bugs.webkit.org/show_bug.cgi?id=238488
rdar://89363964

Reviewed by Tim Horton.

Don't change the size of the window to the size of the element.

* UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:
(-[WKFullScreenWindowController beganEnterFullScreenWithInitialFrame:finalFrame:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (292096 => 292097)


--- trunk/Source/WebKit/ChangeLog	2022-03-30 06:37:49 UTC (rev 292096)
+++ trunk/Source/WebKit/ChangeLog	2022-03-30 07:03:38 UTC (rev 292097)
@@ -1,3 +1,16 @@
+2022-03-30  Jean-Yves Avenard  <[email protected]>
+
+        Window is too small after entering and exiting video/element fullscreen
+        https://bugs.webkit.org/show_bug.cgi?id=238488
+        rdar://89363964
+
+        Reviewed by Tim Horton.
+
+        Don't change the size of the window to the size of the element.
+
+        * UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:
+        (-[WKFullScreenWindowController beganEnterFullScreenWithInitialFrame:finalFrame:]):
+
 2022-03-29  Devin Rousso  <[email protected]>
 
         Web Inspector: Sources: allow Response Local Overrides to map to a file on disk

Modified: trunk/Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm (292096 => 292097)


--- trunk/Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm	2022-03-30 06:37:49 UTC (rev 292096)
+++ trunk/Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm	2022-03-30 07:03:38 UTC (rev 292097)
@@ -671,7 +671,8 @@
             page->setSuppressVisibilityUpdates(false);
 
 #if HAVE(UIKIT_WEBKIT_INTERNALS)
-            configureViewForEnteringFullscreen(_fullscreenViewController.get().view, kAnimationDuration, _finalFrame.size);
+            auto* view = [_fullscreenViewController view];
+            configureViewForEnteringFullscreen(view, kAnimationDuration, [view frame].size);
 #endif
 
             if (auto* videoFullscreenManager = self._videoFullscreenManager) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to