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

Re: srcN - Alternative to picture and srcset

From: Attiks <attiks@gmail.com>
Date: Fri, 27 Sep 2013 13:14:11 +0200
Message-ID: <CAM7OHzv9JgXF3XmoU4_xC+f7MgRfNMRUNe1yufttD_yYaReeRA@mail.gmail.com>
To: Shane Hudson <Shane@shanehudson.net>
Cc: Marcos Caceres <marcos@marcosc.com>, "public-respimg@w3.org" <public-respimg@w3.org>, "Tab Atkins Jr." <jackalmage@gmail.com>, Robin Berjon <robin@w3.org>
I have to agree with Shane, it feels hacky to number them, also if you want
to remove one later, you'll have a gap, which does not look nice and no
idea how it's going to be handled.

Maybe it is an option to separate all of them into one src using for
example a ";"


On Fri, Sep 27, 2013 at 12:51 PM, Shane Hudson <Shane@shanehudson.net>wrote:

> I quite like where Tab is going with this. I wonder though, would it be
> possible to have multiple srcs instead of numbering them? It feels kind of
> hacky. I'm pretty sure that browsers (both current and legacy) only take
> the first src in an img?
>
>
> On Fri, Sep 27, 2013 at 11:20 AM, Marcos Caceres <marcos@marcosc.com>wrote:
>
>> Hi All,
>>
>> Tab Atkins has put forward and alternative proposal to both srcset and
>> picture:
>>
>> http://tabatkins.github.io/specs/respimg/Overview.html
>>
>> 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"
>>        src="pic-large.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
>> --
>> Marcos Caceres
>>
>>
>>
>>
>
>
> --
>
> ------------------------------
>
> Shane Hudson (Website Developer - www.ShaneHudson.net<http://www.shanehudson.net/>
> )
>
> 07794746595
>
> @ShaneHudson <https://twitter.com/#!/ShaneHudson> / +Shane Hudson<https://plus.google.com/u/0/110111510059204475260>
>
>
Received on Friday, 27 September 2013 11:14:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:12:40 UTC