> Is this in conjunction to having a width and height? It could be. The Marketplace enforces icons being square (and the MDN spec states "Icons must be square and are intended to visually represent the app."), so width and height don't matter a whole lot for vector graphics. If you don't specify a width and height and you do specify a scalable graphic, it should be assumed that the image is scalable to any size.
If you do provide a width and height, the UA could choose the scalable icon with the closest proportions to what's needed (allowing the developer to provide more appropriate icons at different sizes). > Generally, you only want to scale down, only scale up if you have no other > option. Yes, that's what I meant. If the UA is looking for a 64x64 icon and there's no scalable graphics and the largest icon provided is 32x32, the UA would be forced to scale up. ----- Original Message ----- From: "Marcos Caceres" <[email protected]> To: "Matt Basta" <[email protected]> Cc: "dev-webapps" <[email protected]>, "Vivien Nicolas" <[email protected]>, "Jonas Sicking" <[email protected]>, "Tim Guan-tin Chien" <[email protected]>, "Mounir Lamouri" <[email protected]> Sent: Wednesday, June 19, 2013 8:26:45 AM Subject: Re: Icon sizes and display densities Hi Matt, On Wednesday, June 19, 2013 at 4:04 PM, Matt Basta wrote: > Why not just have {"src": "...", "scalable": true} and let the UA figure it > out. Is this in conjunction to having a width and height? > If it's a bitmap, try and scale it anyway (it'll be blurry, but that's the > dev's fault). If the UA doesn't get scalable for any of the icons, it > shouldn't scale them (unless none of them are the size it needs, in which > case it should pick the closest size up and scale down or the nearest size > down and scale up). Please read over the previous research and links I posted from icon creators about scaling issues. Generally, you only want to scale down, only scale up if you have no other option. -- Marcos Caceres _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
