W3C home > Mailing lists > Public > public-respimg@w3.org > December 2012

Re: [public-respimg] <none>

From: Andy Davies <dajdavies@gmail.com>
Date: Sun, 30 Dec 2012 12:27:47 +0000
Message-ID: <CABbusALWwyEuLtqvPV-26uA3aXABr3bunLrT1ECKtfw0F3sDag@mail.gmail.com>
To: Yoav Weiss <yoav@yoav.ws>
Cc: "public-respimg@w3.org" <public-respimg@w3.org>
Thanks Yoav, that makes sense - was having a brain dead moment...

The scenario below isn't listed in the use cases do you think it should be
(it's something that's not achievable with srcset is it?)

Cheers

Andy

On Sunday, December 30, 2012, Yoav Weiss wrote:

> Hi Andy,
>
> The scenario you're referring to can be done by:
> <picture>
>     <source src="desktop_img.jpg" media="screen and (min-width: 800px)" />
>     <!-- No need to define sources for smaller viewports, since we don't
> want any -->
> </picture>
>
> I don't think we referred specifically to this scenario in the spec
> though. Do you believe it is necessary?
>
> Happy new year!
> Yoav
>
>
> On Sun, Dec 30, 2012 at 12:13 AM, Andy Davies <dajdavies@gmail.com<javascript:_e({}, 'cvml', 'dajdavies@gmail.com');>
> > wrote:
>
>> I'm only following a distance but I'm wondering...
>>
>> How does <picture> cope with a scenario where you want an image to be
>> displayed at certain viewport sizes but not at others?
>>
>> Cheers
>>
>> Andy
>>
>>
>>
>
Received on Sunday, 30 December 2012 12:28:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 30 December 2012 12:28:14 GMT