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

Adding 'image-rendering: pixelated' to overcome antialias fuzziness 3 tests #41602

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

TalbotG
Copy link
Contributor

@TalbotG TalbotG commented Aug 23, 2023

This is a follow-up to
#40715

#40731

Adding 'image-rendering: pixelated' in order to avoid or overcome subpixel antialias fuzziness in the following 3 border-image-repeat-* tests:

https://wpt.fyi/results/css/css-backgrounds/border-image-repeat-round-003.html

https://wpt.fyi/results/css/css-backgrounds/border-image-repeat-round-stretch-001.html

https://wpt.fyi/results/css/css-backgrounds/border-image-repeat-stretch-round-001.html

If this does not succeed, then I will resort to use
<meta name=fuzzy content="i, j">

Credits should go to @fantasai for those recommandations.

image-rendering: pixelated appears to be supported well by current mainstream browsers as indicated by/according to:
https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering#browser_compatibility

@fantasai fantasai merged commit db33e66 into web-platform-tests:master Aug 23, 2023
19 checks passed
@TalbotG TalbotG deleted the CSS3Backgrounds-GT-PR52 branch August 23, 2023 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants