[whatwg] add html-attribute for "responsive images"

Anne van Kesteren annevk at opera.com
Tue Aug 30 07:21:55 PDT 2011


On Wed, 24 Aug 2011 10:49:24 +0200, Anselm Hannemann - Novolo  
Designagentur <anselm at novolo.de> wrote:
> Tried several other ways, too, (you can see in versions) but this seems  
> to be the best. What do you think about providing a way to use  
> responsive media through media-queries? For now there are only some  
> JS-Cookie solutions which are not a good approach and are very  
> unflexible.

It's too much complexity for a niche problem. Better to just use a  
high-resolution image and downscale it using the height/width attributes.

See http://www.webkit.org/blog/55/high-dpi-web-sites/ for some advice.


-- 
Anne van Kesteren
http://annevankesteren.nl/


More information about the whatwg mailing list