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:38:07 +0000
Message-ID: <CABbusA+5zgkZ93pH=itdnEaJX5pJUj0y2w_fc+ONk16WveX6vA@mail.gmail.com>
To: Kornel <kornel@geekhood.net>
Cc: "public-respimg@w3.org" <public-respimg@w3.org>
On Sunday, December 30, 2012, Kornel wrote:

> On 29 gru 2012, at 23:13, Andy Davies <dajdavies@gmail.com <javascript:;>>
> 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?
>
> Perhaps it's not necessary to add any features for this, as it can be
> achieved with:
>
> @media all and (some viewport) {
>   img, picture {display:none}
> }
>

Won't the common download behaviour of display:none need to be changed for
this to work?

Presume the behaviour for picture {display: none} is undefined in the same
way it is for img?

Cheers

Andy
Received on Sunday, 30 December 2012 12:38:33 GMT

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