[whatwg] Implementation complexity with elements vs an attribute (responsive images)

Kornel Lesiński kornel at geekhood.net
Sun May 13 11:53:45 PDT 2012


On Sun, 13 May 2012 18:01:12 +0100, Benjamin Hawkes-Lewis  
<bhawkeslewis at googlemail.com> wrote:

> What authors _can_ do and user agents _cannot_ do is describe their
> images. Such metadata never needs to be misinterpreted and allows user
> agents to iterate and improve the end-user experience even when the
> author either does not care about them, or has moved on, or is long
> dead.

Indeed. An interesting use-case has come up on this list — use  
highest-resolution image when user chooses "Save As".

While it's not an earth-shattering feature, it's a nice touch a browser  
could do having information about image. It wouldn't be possible/sensible  
to do with a media query.

Even if there was support for something like <source  
media="user-action:save-as">, I can bet that less than 0.5% of pages would  
use it and do it correctly.

-- 
regards, Kornel Lesiński



More information about the whatwg mailing list