Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] Entering fullscreen from iframe without explicit viewport resul…
…ts in badly cropped video https://bugs.webkit.org/show_bug.cgi?id=270909 rdar://123725878 Reviewed by Eric Carlson. Follow-up fix to 276138@main: resetViewportDefaultConfiguration() will not trigger viewportDidChange(), and therefore calling those methods in that order can leave the calculated viewport in an inconsistent state. Instead, ensure resetViewportDefaultConfiguration() is called before viewportDidChange() by calling isInFullscreenChanged() before willEnterFullscreen(). * Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.cpp: (WebKit::WebFullScreenManager::willEnterFullScreen): Canonical link: https://commits.webkit.org/276427@main
- Loading branch information