Hello,<br><br><div class="gmail_quote">On Tue, Apr 29, 2008 at 11:24 PM, Maciej Stachowiak <<a href="mailto:mjs@apple.com">mjs@apple.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><br><div><div><div></div><div class="Wj3C7c">On Apr 29, 2008, at 10:24 PM, Charles Iliya Krempeaux wrote:<br><blockquote type="cite">Hello,<br><br><div class="gmail_quote">On Tue, Apr 29, 2008 at 10:13 PM, Maciej Stachowiak <<a href="mailto:mjs@apple.com" target="_blank">mjs@apple.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div><br> On Apr 29, 2008, at 6:52 PM, Ian Hickson wrote:<br> </div></blockquote><div><br>[...]<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br></div><link type="icon" type="application/svg" sizes="any" href="whatwg.svg"><br>
<link type="icon" type="image/microsoft.vnd.icon" sizes="16x16 32x32" href="whatwg.ico"><br> <link type="icon" type="image/x-apple-icons" sizes="16x16 32x32 64x64 128x128 256x256 512x512" href="whatwg.icns"><br>
<link type="icon" type="image/png" sizes="59x60" href="whatwg.png"><br> <br></blockquote></div><br clear="all"><br>Couldn't this also be done as...<br><br><link type="icon" type="application/svg" href="whatwg.svg"><br>
<br><link type="icon" type="image/microsoft.vnd.icon" width="16" height="16" href="whatwg.ico"><br> <link type="icon" type="image/microsoft.vnd.icon" width="32" height="32" href="whatwg.ico"><br>
<br> <link type="icon" type="image/x-apple-icons" width="16" height="16" href="whatwg.icns"><br> <link type="icon" type="image/x-apple-icons" width="32" height="32" href="whatwg.icns"><br>
<link type="icon" type="image/x-apple-icons" width="64" height="64" href="whatwg.icns"><br> <link type="icon" type="image/x-apple-icons" width="128" height="128" href="whatwg.icns"><br>
<link type="icon" type="image/x-apple-icons" width="256" height="256" href="whatwg.icns"><br> <link type="icon" type="image/x-apple-icons" width="512" height="512" href="whatwg.icns"><br>
<br> <link type="icon" type="image/png" width="59" height="60" href="whatwg.png"><br> <br>Basically <link>'ing to the same "icon" more that once for each size it is "good" for.</blockquote>
<div><br></div></div></div><div>a) This may not be obvious to authors.</div><div>b) It's more boilerplate for the author.</div><div>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).</div>
<div>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).</div><div><br></div><div>I fail to see the advantages of this approach.</div>
</div></div></blockquote><div><br>I don't really prefer one to the other, just considering the possibilities we have at hand.<br><br>My current thinking is that you can go one of 2 ways.<br><br>#1: Pack everything into in <link> element. (I.e., what you were suggesting.) Or...<br>
#2: Expand everything into its own <link> element. (I.e., what I was suggesting.)<br><br>My thinking is that... we're now considering adding width and height info (via one or two new attributes)... but I could see this progressing to adding other new attributes too (... perhaps in HTML5... or perhaps in version of HTML after that).<br>
<br>For example... if we have width and height now... well why not info about the number of bits used for the colors?! Why not info about if the coloring is palleted or not?! Or if the image format uses lossless compression or lossy compression?! Or the size of the file?! Etc....<br>
<br>If we have this new attribute(s) available on the <link> element, then it is very likely going to be used for other things besides just icons.<br><br>You could use width and height for videos too. What if video wants to be able to "declare" that the video has "closed captioning" embedded or not?! Or what language the video file has audio for?! ("hreflang" would almost work for that... if it let you specify more than one language.) Or`what "ratings" that version of the video is?!<br>
<br><br>What I was getting at with this suggestion is that if we start adding the ability to specify all sorts of metadata about what's being linked to and go along the path of #1, then we likely need to create a kind of complex language to describe this. (Something approaching the complexity of CSS.) And perhaps that's complicating the <link> element too much.<br>
<br>Maybe it's simpler to (do #2 and) just create a <link> for each thing.<br><br><br>See ya<br><br></div></div>-- <br>Charles Iliya Krempeaux, B.Sc.<br><a href="http://ChangeLog.ca/">http://ChangeLog.ca/</a><br>
<br><br>Vlog Razor... Vlogging News... <a href="http://vlograzor.com/">http://vlograzor.com/</a><br>