[whatwg] Defaulting new image solution to 192dpi

Maciej Stachowiak mjs at apple.com
Thu May 17 15:42:57 PDT 2012


On May 17, 2012, at 12:20 PM, Kornel Lesiński <kornel at geekhood.net> wrote:

> On Thu, 17 May 2012 19:32:51 +0100, Jeremy Keith <jeremy at adactio.com> wrote:
> 
>> Kornel wrote:
>>> Note that the scale multiplier can be omitted already when only the size is specified
>> 
>> I'm confused by what you mean by scale multiplier. The x value describes the pixel density of the device/screen, not the image, right?
> 
> I think it only makes sense if it describes the image, so that:
> 
> <img srcset="100x100image-pixels.jpg 2x">
> 
> would display at 50x50px (CSS px).

That is indeed how it works.

Cheers,
Maciej


More information about the whatwg mailing list