We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
-ms-interpolation-mode
Given the following input:
canvas { -ms-interpolation-mode: nearest-neighbor; /* IE */ image-rendering: -webkit-optimize-contrast; /* Old Android, Safari, UC Browser */ image-rendering: -moz-crisp-edges; /* Firefox */ image-rendering: crisp-edges; /* Safari */ image-rendering: pixelated; /* Chrome & Opera */ }
Actual Autoprefixer output (with default settings):
canvas { -ms-interpolation-mode: nearest-neighbor; /* IE */ image-rendering: -webkit-optimize-contrast; /* Old Android, Safari, UC Browser */ image-rendering: -moz-crisp-edges; /* Firefox */ image-rendering: crisp-edges; /* Safari */ -ms-interpolation-mode: nearest-neighbor; image-rendering: pixelated; /* Chrome & Opera */ }
Note that -ms-interpolation-mode: nearest-neighbor; is now duplicated.
-ms-interpolation-mode: nearest-neighbor;
Simple test case to reproduce the issue:
// `npm i autoprefixer postcss` 'use strict'; const autoprefixer = require('autoprefixer'); const postcss = require('postcss'); const plugin = autoprefixer(); const css = ` canvas { -ms-interpolation-mode: nearest-neighbor; /* IE */ image-rendering: -webkit-optimize-contrast; /* Old Android, Safari, UC Browser */ image-rendering: -moz-crisp-edges; /* Firefox */ image-rendering: crisp-edges; /* Safari */ image-rendering: pixelated; /* Chrome & Opera */ } `; postcss([ autoprefixer ]).process(css).then(function(result) { result.warnings().forEach(function(warn) { console.warn(warn.toString()); }); console.log(result.css); });
The text was updated successfully, but these errors were encountered:
Thanks. I will try to fix it on this weekend.
Sorry, something went wrong.
Ensure minified CSS still contains image-rendering: -moz-crisp-edges
image-rendering: -moz-crisp-edges
a1b691b
Work around postcss/autoprefixer#632 which led to clean-css/clean-css#752.
Done 01476c9
Released in 6.3.5
No branches or pull requests
Given the following input:
Actual Autoprefixer output (with default settings):
Note that
-ms-interpolation-mode: nearest-neighbor;
is now duplicated.Simple test case to reproduce the issue:
The text was updated successfully, but these errors were encountered: