[whatwg] <link rel=icon width="" height="">
mart at degeneration.co.uk
Wed Apr 30 10:32:49 PDT 2008
Ian Hickson wrote:
> (With my rarely-used Google hat on:)
> The Gears team has an API that allows authors to specify a set of icons:
> 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).
I recall that another group in a similar situation were considering
something like the following:
<link rel="icon" type="image/gif; width=24, height=24" href="...">
Presumably the above would be more the bailiwick of the MIME standard
than the HTML standard, but this seems cleaner to me than adding some
special-case attributes to the html LINK element.
 Sadly, I cannot remember which group it was at the moment.
More information about the whatwg