- From: Ben Francis <notifications@github.com>
- Date: Fri, 24 Jul 2020 03:55:21 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 24 July 2020 10:55:33 UTC
@phoglenix wrote: > I think the spec requires that the last-declared icon of "equally-appropriate" icons is used, so you have to be a little careful about sorting the list (make sure it's stable relative to whatever "appropriate" means). Hmm, interesting. @mgiuca wrote: > Maybe we should add normative text: > Sort the list of icons by appropriateness. > Remove any inappropriate icons from the list. > Choose the most appropriate. "Appropriateness" is perhaps a little bit subjective, but yes I do wonder whether sorting by size might help. Another thing that isn't clear from the specification (and I'm not sure there's really a normative answer to) is what to do about icons which have different width and height dimensions. My algorithm only compares width and really assumes the icon is square, so if a developer provided a very tall or wide icon this would all fall apart. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/manifest/issues/925#issuecomment-663483004
Received on Friday, 24 July 2020 10:55:33 UTC