W3C home > Mailing lists > Public > public-html@w3.org > May 2011

Re: Adaptive images

From: Charles McCathieNevile <chaals@opera.com>
Date: Mon, 30 May 2011 17:20:08 +0200
To: "Karl Dubost" <karld@opera.com>, "Mathias Bynens" <mathias@qiwi.be>
Cc: "Dominique Hazael-Massieux" <dom@w3.org>, public-html@w3.org
Message-ID: <op.vwavjud5wxe0ny@widsith.local>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:25 UTC