[whatwg] <link rel=icon width=

Ernest Cline ernestcline at mindspring.com
Wed Apr 30 14:04:24 PDT 2008



-----Original Message-----
>From: Ian Hickson <ian at hixie.ch>
>Sent: Apr 29, 2008 9:52 PM
>To: whatwg at whatwg.org
>Subject: [whatwg] <link rel=icon width="" height="">
>
>
>(With my rarely-used Google hat on:)
>
>The Gears team has an API that allows authors to specify a set of icons:
>
>   http://code.google.com/apis/gears/upcoming/api_desktop.html
>
>They used a scripted API, but when I tried to get them to use a 
>declarative API, they said that the main reason they used a scripted one 
>is that the declarative options didn't have a way to specify dimensions.
>
>This is a proposal to add "height" and "width" attributes to <link> 
>specifically for the case of rel=icon, so that authors can provide 
>multiple icons and let the UA decide which to use based on their size 
>(without having to download them all to find out which is best).
>
>Opinions?

Maybe I'm missing something obvious, but why wouldn't:
<link rel=icon style="width: 16px; height:16px">
serve to mark width and height adequately?

It's even perfectly fine HTML 4 syntax.

Ernest Cline



More information about the whatwg mailing list