From 7177e9130e45d6f5f2b0816b1cb8ee12eb709403 Mon Sep 17 00:00:00 2001
From: Matt Giuca
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 URL is [=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 an [^meta^] element whose [^meta/name^] attribute is + "theme-color" for documents that are not [=within scope=], since the + application has no control over these documents.
The user agent MAY ignore the theme color's [=alpha @@ -1779,12 +1783,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
@@ -1806,11 +1821,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 - [=navigated=] while the manifest is [=applied=]. + data-export="">navigation scope of a manifest is the + "scope" member of a [=Document/processed manifest=]. The + navigation scope governs the set of URLs to which an [=application + context=] can be [=navigated=] while the manifest is [=applied=].
From 25fc61778008baf09058dbff92fd074767ffdac6 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
+ [=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 URL is [=within scope=] of the
[=application context=]'s [=manifest=] includes a [^meta^] element
From ae9dc319761352ada10947654cb1618322b716dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20C=C3=A1ceres?=
From bc03acf7dd15c76e0227c9da8b4dfdafc4a589a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20C=C3=A1ceres?=
From 72517d3f2260211cadd13bc1aa7e51e767f4e777 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20C=C3=A1ceres?=
The navigation scope of a manifest is the
- "scope" member of a [=Document/processed manifest=]. The
+ "[=manifest/scope=]" member of a [=Document/processed manifest=]. The
navigation scope governs the set of URLs to which an [=application
context=] can be [=navigated=] while the manifest is [=applied=].
A [=Document/processed manifest=] is applied to a [=top-level browsing context=],
- meaning that the members of the manifest are affecting the
+ 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.
From a0223849ee3bd9088603cbf4683310418a22a6d5 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, 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.
+ [=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
@@ -1721,8 +1722,8 @@
A top-level browsing context that has a manifest applied to
@@ -2587,8 +2588,8 @@
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 URL is [=within scope=] of the
+ color=] if a document whose 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
From d32a33859adae26976e7fb30602d5dbca84e2a08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20C=C3=A1ceres?=
whose [^meta/name^] attribute is "[^meta/name/theme-color^]".
However, the user agent SHOULD NOT override the [=default theme
color=] via an [^meta^] element whose [^meta/name^] attribute is
- "theme-color" for documents that are not [=within scope=], since the
+ "theme-color" for documents' [=Document/URL=] are not [=URL/within scope=], since the
application has no control over these documents.
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 URL is [=URL/within scope=] of the
+ 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
From 682d48068ad3dd7e85b9c78428d8a81d7e059159 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20C=C3=A1ceres?=
whose [^meta/name^] attribute is "[^meta/name/theme-color^]".
However, the user agent SHOULD NOT override the [=default theme
color=] via an [^meta^] element whose [^meta/name^] attribute is
- "theme-color" for documents' [=Document/URL=] are not [=URL/within scope=], since the
+ "theme-color" for [=documents=]' [=Document/URL=] are not [=URL/within scope=], since the
application has no control over these documents.
[=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 an [^meta^] element whose [^meta/name^] attribute is
+ 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 navigation scope of a manifest is the
"[=manifest/scope=]" member of a [=Document/processed manifest=]. The
- navigation scope governs the set of URLs to which an [=application
+ navigation scope is the URLs to which an [=application
context=] can be [=navigated=] while the manifest is [=applied=].
or from a [=launching a shortcut|shortcut=], the user agent might
create a new [=top-level browsing context=] with that application's
[=manifest=] [=applied=], but it might not do so if the user simply
- clicked a bookmark to a URL within the application's [=navigation
- scope=].
+ clicked a bookmark to a URL within the application's
+ [=manifest/navigation scope=].
The 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=].
+ navigation scope is the URLs to which an [=application context=] can be
+ [=navigated=] while the manifest is [=applied=].