Re: Adaptive images

On Mon, 30 May 2011 16:42:04 +0200, Mathias Bynens <mathias@qiwi.be> wrote:

> Note that this is not only a problem for images, but for all kinds of
> embedded assets. The more generic the solution, the better.
>
> How about allowing the `media` attribute on all elements, and having
> browsers only download the assets within elements with matching media
> queries?

That would be the obvious thing (and what Opera actually *did*) but it  
turns out that some important websites don't work if you do that :( And  
the browser gets blamed...

cheers

-- 
Charles McCathieNevile  Opera Software, Standards Group
     je parle français -- hablo español -- jeg lærer norsk
http://my.opera.com/chaals       Try Opera: http://www.opera.com

Received on Monday, 30 May 2011 15:20:42 UTC