W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2008

[whatwg] <link rel=icon width=

From: Ernest Cline <ernestcline@mindspring.com>
Date: Wed, 30 Apr 2008 17:04:24 -0400 (GMT-04:00)
Message-ID: <9005394.1209589465051.JavaMail.root@mswamui-bichon.atl.sa.earthlink.net>


-----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
Received on Wednesday, 30 April 2008 14:04:24 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:02 UTC