Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background is different in zoomed out mode in Safari #60552

Closed
glendaviesnz opened this issue Apr 8, 2024 · 1 comment
Closed

Background is different in zoomed out mode in Safari #60552

glendaviesnz opened this issue Apr 8, 2024 · 1 comment
Labels
[Feature] Zoom Out [Type] Bug An existing feature does not function as intended

Comments

@glendaviesnz
Copy link
Contributor

glendaviesnz commented Apr 8, 2024

Description

In zoomed out mode the background colors in Safari are different to Chrome and Firefox when using the same theme.

The following is chrome on left and safari on right with 2024 theme and no global styles set:

Screenshot 2024-04-08 at 4 06 23 PM

Step-by-step reproduction instructions

  • Enable zoomed out mode experiment
  • In Chrome open an page in site editor and toggle zoomed out mode on and notice grey surround around the page
  • In Chrome open an page in site editor and toggle zoomed out mode on and notice the surround is white

It looks like it is because of a difference in the way that Safari handles background colors on transform, ie. Safari applies the background color to the resized container, whereas Chrome and Firefox appear to leave the background color applied to the pre-transform size of the element. If the transform is removed and a manual margin applied the grey surround appears as expected:

Screenshot 2024-04-08 at 4 45 43 PM

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@glendaviesnz glendaviesnz added [Type] Bug An existing feature does not function as intended [Feature] Zoom Out labels Apr 8, 2024
@annezazu
Copy link
Contributor

annezazu commented Apr 9, 2024

Closing this out in favor of #60601 which has more information and bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Zoom Out [Type] Bug An existing feature does not function as intended
2 participants