Re: [w3c/manifest] Add IDL section and define IDL for all the members (#613)

mgiuca commented on this pull request.



>            </li>
-          <li>If <a>Type</a>(<var>value</var>) is not "string":
-            <ol>
-              <li>If <a>Type</a>(<var>value</var>) is not "undefined", <a>issue
-              a developer warning</a> that the type is unsupported.
-              </li>
-              <li>Return the <a>fallback display mode</a>'s value.
-              </li>
-            </ol>
-          </li>
-          <li>Otherwise, <a>Trim</a>(<var>value</var>), convert to lower-case,
-          and set <var>value</var> to be the result.
+          <li>If <a>Type</a>(<var>V</var>) is <code>null</code> return the <a>
+            fallback display mode</a>'s value.

> Well, the idea is that if a browser doesnt support "fullscreen" but "standalone" then it should render "fullscreen" as "standalone" and not "browser"

Yeah. Looks good now. To be clear, I'm not proposing we remove the concept of FDM --- that is good that it works like you describe. Just saying that there is no "global fallback display mode" (rather, that each display mode has its own FDM). It's more of a default than a fallback.

No further action required.

-- 
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/613#discussion_r142581083

Received on Wednesday, 4 October 2017 04:59:58 UTC