[whatwg] New responsive images proposal

Simon Pieters simonp at opera.com
Thu Nov 21 07:16:16 PST 2013

On Thu, 21 Nov 2013 14:50:44 +0100, Mateus Souza  
<mateussouzaweb at gmail.com> wrote:

> Agree, but maybe a new tag element can do the trick, or an adaptation of
> the picture element could be a better solution.
> <image>
> <source src="large.jpg" media="screen and (min-width: 800px)"  
> alt="Larger"
> height="500" width="500" />
> <source src="small.jpg" media="screen and (max-width: 300px)" alt="Small"
> height="200" width="200" />
> </image>
> My ideai is just make all attributes responsive, and today, i do not see  
> a
> solution without javascript or css polyfill.


Simon Pieters
Opera Software

More information about the whatwg mailing list