Re: What do we do with picture?

On Thursday, October 17, 2013 at 3:59 PM, porneL wrote:

> I was under impression that the simplified, stateless selection algorithm 
> solved problems vendors had with <source> - it should be as easy to 
> implement as attributes, or even easier as there's no microsyntax parsing 
> required. 

That's true. But, there is still the bit where we are changing <source> to have a srcset attribute. Special casing <source> kinda sucks. 
> Proposals based on <img> have disadvantage of breaking existing scripts 
> that rely on Image.src (I haven't seen any attempts to make that backwards 
> compatible with things like Masonry's imagesLoaded functionality), so 
> <picture> has an advantage of having a clean break.

This is a fair point. 
> And finally srcN is an eye-sore (I like the functionality, but it's clearly 
> a compromise on syntax).
> 
> Merge good bits of srcN spec, make simplified <source> selection official 
> and push vendors to implement that!

I'm all for adding that to picture and see what feedback we get (i.e., we could publish one more time and see the response). 

Received on Thursday, 17 October 2013 15:11:03 UTC