[whatwg] <link rel=icon width="" height="">

On Wed, 30 Apr 2008 03:52:08 +0200, Ian Hickson <ian at hixie.ch> wrote:

> (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?

I think that before going ahead and brainstorming syntax for this, we  
should think about what the desired behavior in legacy browsers should be  
and test what actually happens in legacy browsers for different syntaxes.  
For instance, a new <icon> element would not show an icon in legacy  
browsers and it would imply <body> in some browsers.

-- 
Simon Pieters
Opera Software

Received on Monday, 5 May 2008 05:07:55 UTC