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

CSSLint expects image-rendering to be a depreciated value. #775

Open
Kikasuru opened this issue Jun 14, 2021 · 1 comment
Open

CSSLint expects image-rendering to be a depreciated value. #775

Kikasuru opened this issue Jun 14, 2021 · 1 comment

Comments

@Kikasuru
Copy link

CSSLint expects optimizeQuality or optimizeSpeed for the image-rendering property, despite those values being depreciated.

@ferdnyc
Copy link

ferdnyc commented Mar 2, 2024

So it turns out that comes from the https://github.com/CSSLint/parser-lib dependency, which does indeed still support only the deprecated values. I suspect that's because they're there for SVG, and in that context they're still the only valid values for the SVG image-rendering attribute (along with auto).

Another problem is that apparently no browser actually supports smooth, which is marked as experimental, except Firefox 93+. Even pixelated requires a fairly recent browser. (Then again, optimizeSpeed and optimizeQuality are also only supported by Firefox 93+.)

At least crisp-edges has much more widespread support. That should definitely be recognized, at the very least.

Still, like I said, this appears to be an issue for parser-lib rather than csslint.

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