Martin Atkins wrote:
Lachlan Hunt wrote:
For color, you are reinventing Media Queries. For compression, you are basically reinventing q values for MIME types.

<link type="image/png;q=1.0" media="all and (min-color:8)">
<link type="image/jpeg;q=0.8" media="all and (min-color:8)">

Could this be said about size as well?

<link type="image/png"
      media="all and (max-width:16px and max-height:16px)">

No, because the media queries are related to the actual tech specs of the device, not the image. I'm fairly sure there are no 16x16px screens in use, at least not for the web. To get appropriate behaviour for what you're suggesting here would require redefining and special casing media queries.


--
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/

Reply via email to