[manifest] Support for platform hints on icons (#405)

Looking at Slack's website the other day I noticed just how different icon standards are for different platforms:

<img width="1101" alt="screen shot 2015-09-25 at 5 29 22 pm" src="https://cloud.githubusercontent.com/assets/279720/10114742/31a137b4-63ab-11e5-8af5-bfcbd9f91472.png">

I wonder if we should support the ability for sites to optionally hint a specific icon is more suitable to a certain platform. For example the manifest could provide default icons in different sizes in the way today, and additionally versions with a new property like `suggested_platforms` containing a list of strings corresponding to platforms that icon would be well suited for.

I'm not sure of the best way for us to standardize (or leave unstandardized?) platform strings though so UAs know which OS to apply them on - naively we could define a short list and add ones as they request to be added, but that seems potentially difficult. Also it's unclear to me whether we'd want to support versioning (e.g. 'win10' vs 'win' etc).

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/405

Received on Saturday, 26 September 2015 00:41:11 UTC