Re: Solving cases where UA, not author, must make the decision

On 16 maj 2012, at 12:51, Scott Kellum <scott@scottkellum.com> wrote:

> We have media queries for both resolution and pixel scaling ratios: http://dev.w3.org/csswg/css-device-adapt/#the-lsquoresolutionrsquo-descriptor

But this is still a media query, which means UA can't override author's guess about required resolution, e.g. iPhone 4 on EDGE connection cannot opt to download 96dpi images despite having a high-res display (other than by lying in MQs, which is a path to madness).

Similarly browsers with 96dpi displays and 200% zoom can't load better images.

Insisting on device-pixel-ratio won't convince the WHATWG. It's unproductive to repeat that argument, so I'm trying to start a discussion about a different approach that would be a good fit for bandwidth optimisation, matching effective DPI and be able to take advantage of cached higher-quality images (which srcset can and MQs can't do).

-- 
regards, Kornel

Received on Wednesday, 16 May 2012 12:22:33 UTC