From ec8a23b832f106517a6e03cadc8b5efee923b0cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20C=C3=A1ceres?=
If the user agent honors the value of the [=manifest/theme_color=] - member as the default theme color, then that color serves as - the theme color for all browsing contexts to which the - manifest is applied. However, a document may override the - default theme color through the inclusion of a valid [[HTML]] - [^meta^] element whose [^meta/name^] attribute value is - `"theme-color"`. + member as the [=default theme color=], then that color serves as the + [=theme color=] for all [=browsing contexts=] to which the manifest + is [=applied=]. However, the user agent MAY override the [=default + theme color=] if a [=document=] whose [=Document/URL=] is + [=URL/within scope=] of the [=application context=]'s [=manifest=] + includes a [^meta^] element whose [^meta/name^] attribute is + "[^meta/name/theme-color^]". However, the user agent SHOULD NOT + override the [=default theme color=] via a [^meta^] element whose + [^meta/name^] attribute is "theme-color" for [=documents=]' + [=Document/URL=] are not [=URL/within scope=], since the application + has no control over these documents.
The user agent MAY ignore the theme color's [=alpha @@ -1703,12 +1708,23 @@
- A [=Document/processed manifest=] is applied to a top-level - browsing context, meaning that the members of the - [=Document/processed manifest=] are affecting the presentation or - behavior of a browsing context. + A [=Document/processed manifest=] is applied to a [=top-level browsing context=], + meaning that the members of the [=manifest=] are affecting the + presentation and/or behavior of the browsing context. Whenever a + [=top-level browsing context=] is created, the user agent MAY + [=apply=] a manifest to it before [=navigate|navigation=] begins.
+
A top-level browsing context that has a manifest applied to
it is referred to as an application
@@ -1730,11 +1746,6 @@
changed it when the application was installed.
- The appropriate time to apply a manifest is when the - application context is created and before - [=navigate|navigation=] to the start URL begins. -
The navigation scope of a manifest is the "scope" item - of a [=Document/processed manifest=]. The navigation scope restricts - the set of URLs to which an [=application context=] can be + data-export="">navigation scope of a manifest is the + "[=manifest/scope=]" member of a [=Document/processed manifest=]. The + navigation scope is the URLs to which an [=application context=] can be [=navigated=] while the manifest is [=applied=].