- From: Maciej Stachowiak <mjs@apple.com>
- Date: Tue, 29 Apr 2008 23:25:16 -0700
On Apr 29, 2008, at 10:33 PM, Michael(tm) Smith wrote: > Ian Hickson <ian at hixie.ch>, 2008-04-30 01:52 +0000: > >> 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). > > I notice the docs for the "icons" param of the Gears createShortcut() > method describe four discrete sizes that all have the same height > and width ("An object containing one or more of these named > properties: 128x128, 48x48, 32x32, 16x16..."). > > So do UAs expect link at rel=icon icons to always have the same > height and width, and if so should the HTML5 spec make it clear > that their height and width should be the same? Not all platforms use icons that have the same width and height. For example, the standard size for iPhone icons is 59x60. Regards, Maciej
Received on Tuesday, 29 April 2008 23:25:16 UTC