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

Maciej Stachowiak mjs at apple.com
Thu May 1 18:34:20 PDT 2008

On Apr 29, 2008, at 10:13 PM, Maciej Stachowiak wrote:

> I would suggest a sizes attribute which can take a list of sizes  
> (with x as a width/height separator), or a keyword such as "any" or  
> "scalable" to indicate a scalable format suitable for any size.
> <link rel="icon" type="application/svg" sizes="any" href="whatwg.svg">
> <link rel="icon" type="image/microsoft.vnd.icon" sizes="16x16 32x32"  
> href="whatwg.ico">
> <link rel="icon" type="image/x-apple-icons" sizes="16x16 32x32 64x64  
> 128x128 256x256 512x512" href="whatwg.icns">
> <link rel="icon" type="image/png" sizes="59x60" href="whatwg.png">

OK, I'm sure the last thing that is needed is more syntax suggestions,  
but here's an alternate proposal with no new attributes, specify size  
info as additional rel keywords:

<link rel="icon scalable" type="application/svg" href="whatwg.svg">
<link rel="icon 16x16 32x32" type="image/microsoft.vnd.icon"  
<link rel="icon 16x16 32x32 64x64 128x128 256x256 512x512" type="image/ 
x-apple-icons" href="whatwg.icns">
<link rel="icon 59x60" type="image/png" href="whatwg.png">

This would however effectively define an open-ended set of rel values,  
and also it is dubious whether a size can be considered a relationship.


More information about the whatwg mailing list