W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

Re: [whatwg] Features for responsive Web design

From: Glenn Maynard <glenn@zewt.org>
Date: Tue, 15 May 2012 14:21:51 -0500
Message-ID: <CABirCh9j5azf=j0KGdC_Bm-FsQOJ8VH7MX5VciUZwz=iG8mw4Q@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: whatwg@whatwg.org, Ian Hickson <ian@hixie.ch>
On Tue, May 15, 2012 at 10:06 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> >> For two, I'm not sure that it's particularly obvious that when you say
> >> "2x", you should make sure your image was saved as 196dpi.  You have
> >> to already know what the default resolution is.
> >
> > You don't have to. The resolution of the image is ignored.
>
> If you don't set your image's resolution appropriately, you'll get
> unexpected sizing effects.
>

I think the terms are confused, since we use "resolution" to refer to both
image dimensions and DPI, which are very different things.  We might want
to avoid the term in a discussion that involves both.

The DPI is ignored by browsers, of course; it's the dimensions vs. the
scale factor that you have to get right.

It would probably help readability a lot if you're allowed to use ratios,
eg. 300/96 to mean 3.125.

-- 
Glenn Maynard
Received on Tuesday, 15 May 2012 19:22:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT