Re: [w3c/manifest] Remove sizes from icons? (#997)

In Chromium we actually never use it - we download all icons and just use the sizes from the icon files. Then we resize to generate the sizes we want to have on hand (there is a static list of sizes we resize to) if there are any missing, and save on disk.

Same for updating - in order to support detecting changes to the application during update, we actually download all icons to detect if the contents are different.  So - we already have the size from that, no need to use the size in the manifest.

I guess a user agent, if it assumes it is always online, COULD just store the urls, and href all images to the corresponding urls if an icon has to be shown anywhere. I can totally see for things like `srcset` on images why the user agent would want this metadata so it could choose exactly which image to download (and then cache). But given the nature of webapps being saved to the os & that state is available offline - these sizes don't seem to be used.

I guess I see this as an opportunity to simplify the spec if we wanted.


-- 
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/997#issuecomment-900570905

Received on Tuesday, 17 August 2021 19:27:09 UTC