From 6290db166523aa18c91233481b3ecaf03c90a168 Mon Sep 17 00:00:00 2001
From: Daniel Murphy
The above loop is guaranteed to return a value before it terminates,
due to the fact that {{browser}} is in every mode's fallback chain,
- and the requirement that all user agents support the {{browser}} [=display
- mode=].
+ and the requirement that all user agents support the {{browser}}
+ [=display mode=].
+
+ In the future, new values added to {{DisplayModeType}} will not be
+ added to the fallback chain, and the algorithm should treat these
+ values, when used with the {{WebAppManifest/display}} field, as
+ {{browser}}. New values will only be compatible with
+ {{WebAppManifest/display_override}}.
"sizes": "128x128"
}],
"start_url": "/index.html",
- "display_override": ["minimal-ui", "standalone"],
- "display": "minimal-ui",
+ "display_override": ["minimal-ui"],
+ "display": "standalone",
"theme_color": "yellow",
"background_color": "red"
}
@@ -639,7 +639,7 @@
+ This member is intended to be only used for advanced cases, where + the developer wants explicit control over the fallback order of their + display modes. Otherwise, the {{display}} should be sufficient for + most use cases. +