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

Fractional Pixel support across browsers. #5540

Open
estesmax opened this issue Jul 18, 2020 · 1 comment
Open

Fractional Pixel support across browsers. #5540

estesmax opened this issue Jul 18, 2020 · 1 comment

Comments

@estesmax
Copy link

While not exactly a CSS feature. Fractional pixels are inconsistently treated from browser to browser. Crome may truncate a 33.5px font size to 33px, safari will renderer the object at sub-pixel scales, and another browser may do a proper round and yield 34px.

It would be nice to have a catalogue of how these are treated across browsers.

@Ugoku
Copy link
Contributor

Ugoku commented Jul 20, 2020

Doesn't this also depend on your screen settings? border: 0.5px solid black will render differently on a full HD screen and a 4K screen scaled 200%, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants