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

Re: What do we do with picture?

From: Marcos Caceres <w3c@marcosc.com>
Date: Thu, 17 Oct 2013 16:10:32 +0100
To: porneL <pornel@pornel.net>
Cc: public-respimg@w3.org
Message-ID: <B44E8EF66DAB4560AE01A5DE6874769B@marcosc.com>



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

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