- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 29 Jul 2013 13:56:22 -0700
- To: Rik Cabanier <cabanier@gmail.com>
- Cc: Simon Sapin <simon.sapin@exyr.org>, www-style list <www-style@w3.org>
On Mon, Jul 29, 2013 at 1:40 PM, Rik Cabanier <cabanier@gmail.com> wrote: > Wouldn't this result in weird resizing behavior while zooming? > > For instance, you have a 96x96 pixel image that knows it 96dpi. By default, > it will take up 96 CSS and device pixels on the screen. > If you zoom by 10%, it will still take up 96 CSS pixels but 106 device > pixels. > > Now what happens if you set the image style to: > > image-resolution: from-image snap; The image's intrinsic size would change to approximately 87 CSS px (that is, 96 device pixels at a screen resolution of 105.6dpi). >> > This is a very confusing property. Shouldn't there be a reference to >> > device >> > pixel ratio? >> >> Maybe? The relevant concepts are very ill-defined in the platform at >> the moment (and this is a legacy property). > > I agree. > What do you mean by 'legacy'? Did anyone implement this? Yes, it's implemented by CSS based printers and printing programs. ~TJ
Received on Monday, 29 July 2013 20:57:09 UTC