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

Maciej Stachowiak mjs at apple.com
Tue Apr 29 23:24:15 PDT 2008


On Apr 29, 2008, at 10:24 PM, Charles Iliya Krempeaux wrote:

> Hello,
>
> On Tue, Apr 29, 2008 at 10:13 PM, Maciej Stachowiak <mjs at apple.com>  
> wrote:
>
> On Apr 29, 2008, at 6:52 PM, Ian Hickson wrote:
>
> [...]
>
>
> <link type="icon" type="application/svg" sizes="any"  
> href="whatwg.svg">
> <link type="icon" type="image/microsoft.vnd.icon" sizes="16x16  
> 32x32" href="whatwg.ico">
> <link type="icon" type="image/x-apple-icons" sizes="16x16 32x32  
> 64x64 128x128 256x256 512x512" href="whatwg.icns">
> <link type="icon" type="image/png" sizes="59x60" href="whatwg.png">
>
>
>
> Couldn't this also be done as...
>
> <link type="icon" type="application/svg" href="whatwg.svg">
>
> <link type="icon" type="image/microsoft.vnd.icon" width="16"  
> height="16" href="whatwg.ico">
> <link type="icon" type="image/microsoft.vnd.icon" width="32"  
> height="32" href="whatwg.ico">
>
> <link type="icon" type="image/x-apple-icons" width="16" height="16"  
> href="whatwg.icns">
> <link type="icon" type="image/x-apple-icons" width="32" height="32"  
> href="whatwg.icns">
> <link type="icon" type="image/x-apple-icons" width="64" height="64"  
> href="whatwg.icns">
> <link type="icon" type="image/x-apple-icons" width="128"  
> height="128" href="whatwg.icns">
> <link type="icon" type="image/x-apple-icons" width="256"  
> height="256" href="whatwg.icns">
> <link type="icon" type="image/x-apple-icons" width="512"  
> height="512" href="whatwg.icns">
>
> <link type="icon" type="image/png" width="59" height="60"  
> href="whatwg.png">
>
> Basically <link>'ing to the same "icon" more that once for each size  
> it is "good" for.

a) This may not be obvious to authors.
b) It's more boilerplate for the author.
c) It's more work for the UA to process (if it prefers a multisize  
icon it has to look for all icon type links and merge references to  
the same file).
d) It does not distinguish between scalable icon and icon where the  
author did not specify a size (which would be all icons present in  
existing link attributes).

I fail to see the advantages of this approach.

  - Maciej

>
>
>
> See ya
>
> -- 
> Charles Iliya Krempeaux, B.Sc.
> http://ChangeLog.ca/
>
>
> Vlog Razor... Vlogging News... http://vlograzor.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080429/4e89a8fe/attachment-0001.htm>


More information about the whatwg mailing list