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

Re: [whatwg] Media queries, viewport dimensions, srcset and picture

From: Mike Gossmann <mike@c572.ca>
Date: Mon, 21 May 2012 04:43:23 -0400
Message-ID: <0ixp8njwlaev87upamysqume.1337588927924@email.android.com>
To: Markus Ernst <derernst@gmx.ch>
Cc: WHATWG Mailing List <whatwg@lists.whatwg.org>
I think variables for more than width and height might actually be a bit redundant, since all the other variables are just copying over values from src, which are known values when the tag is being created, that won't change on their own. A developer could just type them a second time and be done with it. This doesn't prevent the width and height variables from being used as part of a folder structure or filename either. Trying to use a something like {filename} could also cause problems if you want to use src="img/blog/anImage_200x300.jpg" as your fallback, unless the variable can strip the sizes out on it's own.

Mike Gossmann
Received on Monday, 21 May 2012 08:51:39 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:42 UTC