caniuse icon indicating copy to clipboard operation
caniuse copied to clipboard

image-resolution. I've seen this as a good alternative for retina images as opposed to backgro...

Open Fyrd opened this issue 10 years ago • 5 comments

image-resolution.

I've seen this as a good alternative for retina images as opposed to background-size:50%


This issue was imported from Google Moderator

Moderator votes: +3 Issue added by Devon Rathie-Wright on 2012-08-29 To vote this issue up or down, simply include +1 or -1 in your comment.

Fyrd avatar May 12 '15 06:05 Fyrd

http://dev.w3.org/csswg/css-images-3/#the-image-resolution

cvrebert avatar May 19 '15 09:05 cvrebert

+1; AFAIK, only Blink currently supports it (no idea since when, though)

gsnedders avatar Feb 25 '16 19:02 gsnedders

Apparently Blink doesn't. Dropped in Apr 2013 as unfinished and unowned. :(

gsnedders avatar Feb 25 '16 20:02 gsnedders

image-resolution: from-image would cause images to be sized based on the image's DPI header. This makes it possible to substitute retina images without the server needing to know the image's resolution as long as you remember to tag all your images with 192 or 96dpi depending on whether they're retina or not.

mm201 avatar Oct 15 '19 17:10 mm201

for teh record:

https://drafts.csswg.org/css-images-3/#changes-20120407

The image-resolution property has been deferred to Level 4.

=> https://drafts.csswg.org/css-images-4/#the-image-resolution

Schweinepriester avatar Nov 08 '25 08:11 Schweinepriester