-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update needed for image-rendering? #1375
Comments
I think https://bugs.chromium.org/p/chromium/issues/detail?id=903021 suggests indeed an update is needed, and also perhaps extend to support |
Seems like Do we really need to change these very old prefixes? Seems like modern browsers support unprefixed version. |
Autoprefixer currently does what is most useful to websites. The spec (example 19, figure 4) suggests that Chrome and Safari support this, but Firefox (bug) and IE don’t. /* input */
img {
image-rendering: pixelated;
}
/* Autoprefixer output */
img {
-ms-interpolation-mode: nearest-neighbor; /* needed for IE */
image-rendering: -moz-crisp-edges; /* needed for Firefox */
image-rendering: pixelated;
} Test page: https://output.jsbin.com/jopexoy/quiet Autoprefixer adds these two non-standard declarations to ensure that @Malvoz Is there a difference between |
MDN
image-rendering
suggests the following fallback declarations:Currently autoprefixer is different in that:
crisp-edges
is not prefixed with-webkit-optimize-contrast
pixelated
is prefixed with-webkit-optimize-contrast
Related issue: #449.
The text was updated successfully, but these errors were encountered: