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

srcN - Alternative to picture and srcset

From: Marcos Caceres <marcos@marcosc.com>
Date: Fri, 27 Sep 2013 11:20:48 +0100
To: public-respimg@w3.org
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Robin Berjon <robin@w3.org>
Message-ID: <EF01ACD75B4D46A3A92A3AC59B19A097@marcosc.com>
Hi All,

Tab Atkins has put forward and alternative proposal to both srcset and picture:


It combines what was originally in <source> and `srcset` into a "srcN" attribute. Example: 

  <img src1="(max-width: 400px) pic-small.jpg"
       src2="(max-width: 1000px) pic-medium.jpg"
       alt="Obama talking to a soldier in hospital scrubs."> 

Please take a look and discuss. I've cc'ed Tab who I'm sure can answer any questions. 

Kind regards,
Marcos Caceres
Received on Friday, 27 September 2013 10:21:22 UTC

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