W3C home > Mailing lists > Public > public-respimg@w3.org > September 2013

Re: srcN - Alternative to picture and srcset

From: Marcos Caceres <w3c@marcosc.com>
Date: Fri, 27 Sep 2013 15:03:09 +0100
To: Adam Bradley <adambradley25@gmail.com>
Cc: Yoav Weiss <yoav@yoav.ws>, Cory Brown <oh.wise.man@gmail.com>, Robin Berjon <robin@w3.org>, Attiks <attiks@gmail.com>, Shane Hudson <Shane@shanehudson.net>, Marcos Caceres <marcos@marcosc.com>, "public-respimg@w3.org" <public-respimg@w3.org>, "Tab Atkins Jr." <jackalmage@gmail.com>
Message-ID: <8722211B780D424D80C042B1CBA39112@marcosc.com>

On Friday, September 27, 2013 at 3:01 PM, Adam Bradley wrote:

> If both srcset and srcN were available for use today, as a developer I would prefer srcN due to its syntax being easier to read, write and maintain. However, what other alternatives could we use in place of the number suffix? Is it at all possible to look into Cory's idea about having multiple srcN attributes, along with a .srcList array?
> <img srcN="(max-width: 400px) pic-small.jpg"
> srcN="(max-width: 1000px) pic-medium.jpg"
> src="pic-large.jpg">

See Robin's response: 
Received on Friday, 27 September 2013 14:03:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:06:10 UTC