W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2015

[manifest] Manifest "sizes" fallback logic

From: Binyamin <7raivis@inbox.lv>
Date: Mon, 12 Oct 2015 23:01:15 +0300
Message-ID: <CABj=Uk+1-pzHefE9o7gA8Wxg1K3d1dNTqyZFE+b_H-7ozjktgw@mail.gmail.com>
To: public-webapps@w3.org
בע"ה


Hi,


Does "sizes" (https://w3c.github.io/manifest/#sizes-member) has any
fallback for device required different icon sizes?

    {
        "icons": [
            {
                "src": "32x32.png",
                "sizes": "32x32"
            }, {
                "src": "48x48.png",
                "sizes": "48x48"
            }, {
                "src": "128x128.png",
                "sizes": "128x128"
            }
        ]
    }

1. For example, would device request for 16x16 return scaled down image
32x32.png?
2. What about request 40x40 - would it scale up 32x32.png or scale down
48x48.png (40x40 is in middle of both those sizes (+8 = 48, -8 = 32))?
3. Would request 96x96 use 128x128.png?
4. Would request 192x192 and 512x512 use 128x128.png?



Binyamin
Received on Monday, 12 October 2015 20:02:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:58 UTC