Re: srcN - Alternative to picture and srcset

currentSrc is used on <video> and <audio> where multiple possible sources
exist. Why is this any different? Did Hixie explain his reasoning?


On Fri, Sep 27, 2013 at 9:15 AM, Marcos Caceres <w3c@marcosc.com> wrote:

>
>
>
> On Friday, September 27, 2013 at 1:25 PM, Cory Brown wrote:
>
> > I believe src can treated as an attribute where as currentSrc can be
> treated as a property, meaning it reflects actual state.
>
>
> FWIW, I wasn't able to convince Hixie that currentSrc was a good idea for
> srcset. Collectively as a CG, we were unable to come up with a use case for
> it.
>
> The counter argument goes that you should really use developer tools for
> finding out what the current source of an attribute is (instead of script).
>
> --
> Marcos Caceres
>
>
>
>


-- 
Cory Brown

Received on Friday, 27 September 2013 13:35:20 UTC