-
-
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
Support image-rendering #367
Comments
I send PR to Can I Use: Fyrd/caniuse#864 |
We will not support |
I don’t understand the difference between |
Here is good explanation: http://stackoverflow.com/a/25278886 |
@ai Thanks. According to that explanation, I’m not happy with the current state of the spec and browser implementations. If things were more coherent, web developers could start using a single property for preserving pixels while up-scaling (this will become possible cross-browser soon as my demo shows), with Autoprefixer “filling in the blanks”. But with this dual-value approach, web devs will have to continue manually writing |
The way I would sum it up (as I'm drafting in h5bp/html5please#229): The valid values for Curiously, |
@stuartpb |
It's not that I want Right now, there's nothing good you can expect from using |
The CSS Images editor's draft now has an image that demonstrates the difference between pixelated and crisp-edges. |
Currently autoprefixer spits out:
Shouldn't |
@matt-curtis |
I'm a little confused. In Webkit (Safari/Chrome) |
@matt-curtis I’ve tested my demo (“The result” image) on an iPhone. |
@matt-curtis Chrome no longer supports |
My trouble is that I read the word standard ALL over the place when it comes to the attributes for this so-called proposed 'standard'. Each and every browser out there accepts different values and respond totally different to those exact same values. This is non-serious and should def. not be labelled a standard. CSS has no standards. At least no one (Browsers) are adhering to them ! Which basically voids the terminology. Wishful thinking would be more appropriate. Standard NO! In regards to Auto... Automatic implies that the browser should/can choose what is best depending on its intelligence... The keyword AUTO - singlehandedly - voids the use for the image-rendering property in the first place... I take that the browser ALREADY decides how to best render any given image.. WITHOUT me or anyone else having to specify the image-rendering prop. at all. So attributing the keyword auto to this property is only adding to the confusion. This is SO simple in reality. Q) Why would a developer WANT to use image-rendering in the first place ????? Q) How Much control does a developer gain by using a setting called AUTO ? Instead of breaking your heads with terminology - IMO you would be better off just dubbing the three options with Mode 1, Mode 2, Mode 3. Optimize Contrast, Crisp Edges are adjectives subject to interpretation and highly misleading when it comes to graphics ! At least the word contrast in common terms is NOT referring to the sharpness of the edges. And Crisp Edges sounds like something NOT in an image. Dub the Attributes for the people who USE them not the people who PROGRAM / Invent them! No wonder the web is such a mess ! |
@AXXOrganic Autoprefixer currently handles only the |
Specs(CR)
http://dev.w3.org/csswg/css-images-3/#the-image-rendering
The standard value:
The old value
optimize-contrast’ = ‘crisp-edges’
optimizeSpeed and optimizeQuality
This property previously accepted the values
optimizeSpeed
andoptimizeQuality
. These are now deprecated; a user agent must accept them as valid values but must treat them as having the same behavior asauto
, and authors must not use them.MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering
More:
The text was updated successfully, but these errors were encountered: