Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 497185e84d36649dfa0fff3651c0bcd37aeddb4b
      
https://github.com/WebKit/WebKit/commit/497185e84d36649dfa0fff3651c0bcd37aeddb4b
  Author: Eric Carlson <[email protected]>
  Date:   2025-07-01 (Tue, 01 Jul 2025)

  Changed paths:
    A LayoutTests/media/fullscreen-content-offset-expected.txt
    A LayoutTests/media/fullscreen-content-offset.html
    M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm

  Log Message:
  -----------
  [iOS] msn.com videos exit from fullscreen immediately
https://bugs.webkit.org/show_bug.cgi?id=295220
rdar://143989393

Reviewed by Jer Noble.

msn.com creates and deletes <video> elements automatically based on the 
position of the
video containing element relative to the visual viewport. WebKit on iOS resets 
the scrollview
before entering element fullscreen, resulting in some <video> elements being 
offscreen after
entering fullscreen, which causes msn.com to delete the video element, which 
causes WebKit
to exit from fullscreen. Fix this by restoring the position of the scrollview 
before allowing
deferred `scroll` events to fire.

* LayoutTests/media/fullscreen-content-offset-expected.txt: Added.
* LayoutTests/media/fullscreen-content-offset.html: Added.

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

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to