[whatwg] responsive images srcalt proposal

Fred Andrews fredandw at live.com
Sat Jan 25 19:48:34 PST 2014

> Date: Sat, 25 Jan 2014 18:21:59 +0100
> From: rasmusfl0e at gmail.com
> Device-pixel-ratio can be quite relevant to include in urls; with an 2x
> image compression artifacts in lossy formats (jpg, webp) are less visible
> which in turn means you can crank up compression without losing visible
> quality while getting an image that'll weigh roughly the same as the
> equivalent 1x image. It's a very nice trick :)

The images might be identical and your proposal does not allow this to be expressed.  It might be better to be able to enumerate all available images and to describe each so that the UA can make a choice.



More information about the whatwg mailing list