- From: Karl Dubost <karld@opera.com>
- Date: Mon, 30 May 2011 10:24:37 -0400
- To: Dominique Hazael-Massieux <dom@w3.org>
- Cc: public-html@w3.org
Le 30 mai 2011 à 09:43, Dominique Hazael-Massieux a écrit : > But one aspect that remains difficult to manage in such an approach is > handling of content images. :) one technique which is also used currently (and not satisfying) is http://www.broken-links.com/2011/02/21/using-media-queries-in-the-real-world/ <div class="img" data-height="100" data-src="image.png" data-width="100" /> Another possibility using javascript and data-* API [1] <img src="lowres" data-src="highres" alt="boo"/> Though it doesn't solve to have more than one image [1]: http://www.w3.org/TR/html5/dom.html#custom-data-attribute -- Karl Dubost - http://dev.opera.com/ Developer Relations & Tools, Opera Software
Received on Monday, 30 May 2011 14:25:08 UTC