- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Thu, 17 May 2012 15:06:24 -0700
- To: Jeremy Keith <jeremy@adactio.com>
- Cc: WHATWG List <whatwg@whatwg.org>
On Thu, May 17, 2012 at 11:32 AM, Jeremy Keith <jeremy@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? You can think of it either way in this case. Devices with a pixel density less than the Nx descriptor of an image won't download that image if they have a choice (unless you're zooming or something, where the effective pixel density is higher). However, the Nx descriptor does have an effect on the image, by adjusting the intrinsic size of the image. If the image is 600 pixels (image pixels) wide and sent with a 2x descriptor, its intrinsic size will be 300px (CSS px). You'll only notice this if you're using auto-sizing, though. ~TJ
Received on Thursday, 17 May 2012 22:07:16 UTC