Re: [w3c/manifest] Breaking: Ignore any icon with no recognised purpose. (#741)

mgiuca commented on this pull request.



> @@ -2554,42 +2556,52 @@ <h3>
             The user agent is free to display the icon in any context.
           </dd>
         </dl>
+        <p class="note">
+          If an icon contains multiple purposes, it can be used for any of
+          those purposes. If all of the stated purposes are not recognized, the
+          icon is totally ignored. For example, if an icon has purpose

No, they are talking about slightly different things.

The SHOULD above:

> User agents SHOULD NOT use an icon other than for its stated purpose.

Is saying you shouldn't use a "maskable" icon (i.e., a valid purpose) as a normal icon. Since this is UI, we can't upgrade this to a MUST.

Whereas this non-normative note:

> If all of the stated purposes are not recognized, the icon is totally ignored.

Is saying that the user agent must not under any circumstances consider an icon whose purpose is not in {"any", "badge", "maskable"}. The corresponding normative text for this is the algorithm below, which converts icons without any recognised purpose into failure.

-- 
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/pull/741#discussion_r234084059

Received on Friday, 16 November 2018 03:55:48 UTC