Re: srcN - Alternative to picture and srcset

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