- From: Andy Davies <dajdavies@gmail.com>
- Date: Thu, 9 Aug 2012 09:16:02 +0100
- To: whatwg@lists.whatwg.org
On 8 August 2012 17:44, Edward O'Connor <eoconnor@apple.com> wrote: > Hi Markus, > > You wrote: > >> Anyway, with your proposal, would this be valid, to address the >> bandwidth-only use case?: >> >> <img src="normal.jpg" alt="" srcset="high.jpg 2x, normal.jpg 1x"> > > You don't need the ", normal.jpg 1x" because src="" has an implied 1x. > The above could simply be done like so: > > <img src="normal.jpg" alt="appropriate alt text" srcset="high.jpg 2x"> > I know it's there for graceful degradation reasons but doesn't setting the 1x image via src and the others via srcset just add to developers confusion? Would also like to see if there's a way of using srcset to hint to the UA that it can skip the image under low throughput conditions e.g. GPRS. Same would apply to image-set in CSS Cheers Andy
Received on Thursday, 9 August 2012 08:16:40 UTC