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

Safari render artifacts on box-shadow 1.5px borders #3133

Open
tujoworker opened this issue Dec 20, 2023 · 0 comments
Open

Safari render artifacts on box-shadow 1.5px borders #3133

tujoworker opened this issue Dec 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@tujoworker
Copy link
Member

🐛 Bug Report

We use box-shadow instead of borders in order to not change the actual dimension of components.


1x retina

But when they have 1.5px in diameter, they "can" create rendering artifacts. Especially when Safari is run in 1x retina screens.

Also, Firefox does have similar issues, while Chrome does not.


2x retina

In this case, the width's are like this:

  • 1px – do look like 1px
  • 1.3px to 1.7 has the same thickness and do look like 1.5px
  • 2px – do look like 2px

To Reproduce

Change the resolution to 1x retina.

Expected behavior

To render the same as in 2x retina.

Issue screenshot

Screenshot 2023-12-19 at 09 20 02

@tujoworker tujoworker added the bug Something isn't working label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant