Re: srcN - Alternative to picture and srcset

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 10:52:10 UTC