WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
252389
Strange zoom in glitch when exiting fullscreen (on image, that originally spans outside viewport)
https://bugs.webkit.org/show_bug.cgi?id=252389
Summary
Strange zoom in glitch when exiting fullscreen (on image, that originally spa...
Wojciech Czechowski
Reported
2023-02-16 04:07:12 PST
Example url:
https://codepen.io/wojciechczechowski/pen/jOvEXGP
Steps to reproduce the problem: 1. Open the link above 2. Click "Open fullscreen" button to call webkitRequestFullscreen() method on the image 3. Exit fullscreen mode with Escape key Expected behaviour: Image smoothly goes back to it's original position Actual behaviour: Image goes to it's original position, but there's a strange zoom-in glitch at the end of the transition. Additional notes: Seems to happen only when the image originally (before / after entering fullscreen) spans outside the viewport. On images, that fits to viewport it doesn't happen.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-02-23 04:08:18 PST
<
rdar://problem/105827852
>
Simon Fraser (smfr)
Comment 2
2023-02-23 10:16:38 PST
There's some aspect ratio or object-fit logic missing when snapshotting for fullscreen animations.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug