@@ -1076,12 +1076,17 @@ <h3>
1076
1076
</ p >
1077
1077
< p >
1078
1078
If the user agent honors the value of the [=manifest/theme_color=]
1079
- member as the < a > default theme color</ a > , then that color serves as
1080
- the < a > theme color</ a > for all browsing contexts to which the
1081
- manifest is < a > applied</ a > . However, a document may override the
1082
- < a > default theme color</ a > through the inclusion of a valid [[HTML]]
1083
- [^meta^] element whose [^meta/name^] attribute value is
1084
- `"theme-color"`.
1079
+ member as the [=default theme color=], then that color serves as the
1080
+ [=theme color=] for all [=browsing contexts=] to which the manifest
1081
+ is [=applied=]. However, the user agent MAY override the [=default
1082
+ theme color=] if a [=document=] whose [=Document/URL=] is
1083
+ [=URL/within scope=] of the [=application context=]'s [=manifest=]
1084
+ includes a [^meta^] element whose [^meta/name^] attribute is
1085
+ "[^meta/name/theme-color^]". However, the user agent SHOULD NOT
1086
+ override the [=default theme color=] via a [^meta^] element whose
1087
+ [^meta/name^] attribute is "theme-color" for [=documents=]'
1088
+ [=Document/URL=] are not [=URL/within scope=], since the application
1089
+ has no control over these documents.
1085
1090
</ p >
1086
1091
< p data-cite ="CSS-COLOR-4 ">
1087
1092
The user agent MAY ignore the < a > theme color</ a > 's [=alpha
@@ -1703,12 +1708,23 @@ <h3 id="applying">
1703
1708
Applying the manifest
1704
1709
</ h3 >
1705
1710
< p >
1706
- A [=Document/processed manifest=] is < dfn data-export =""
1707
- data-local-lt ="apply|applying "> applied</ dfn > to a < a > top-level
1708
- browsing context</ a > , meaning that the members of the
1709
- [=Document/processed manifest=] are affecting the presentation or
1710
- behavior of a browsing context.
1711
+ A [=Document/processed manifest=] is < dfn data-lt =
1712
+ "apply|applying "> applied</ dfn > to a [=top-level browsing context=],
1713
+ meaning that the members of the [=manifest=] are affecting the
1714
+ presentation and/or behavior of the browsing context. Whenever a
1715
+ [=top-level browsing context=] is created, the user agent MAY
1716
+ [=apply=] a manifest to it before [=navigate|navigation=] begins.
1711
1717
</ p >
1718
+ < aside class ="note ">
1719
+ Whether to [=apply=] a manifest, and which manifest to apply, is at
1720
+ the discretion of the user agent, based on the user's actions. For
1721
+ example, if the user launched an application from the system menu
1722
+ or from a [=launching a shortcut|shortcut=], the user agent might
1723
+ create a new [=top-level browsing context=] with that application's
1724
+ [=manifest=] [=applied=], but it might not do so if the user simply
1725
+ clicked a bookmark to a URL within the application's
1726
+ [=manifest/navigation scope=].
1727
+ </ aside >
1712
1728
< p >
1713
1729
A < a > top-level browsing context</ a > that has a manifest applied to
1714
1730
it is referred to as an < dfn data-export =""> application
@@ -1730,11 +1746,6 @@ <h3 id="applying">
1730
1746
changed it when the application was < a > installed</ a > .
1731
1747
</ p >
1732
1748
</ aside >
1733
- < p >
1734
- The appropriate time to < a > apply</ a > a manifest is when the
1735
- < a > application context</ a > is created and before
1736
- [=navigate|navigation=] to the < a > start URL</ a > begins.
1737
- </ p >
1738
1749
</ section >
1739
1750
< section id ="updating ">
1740
1751
< h3 >
@@ -2575,9 +2586,9 @@ <h2>
2575
2586
</ h2 >
2576
2587
< p >
2577
2588
The < dfn data-dfn-for ="manifest " data-lt ="navigation scope "
2578
- data-export =""> navigation scope of a manifest</ dfn > is the "scope" item
2579
- of a [=Document/processed manifest=]. The navigation scope restricts
2580
- the set of URLs to which an [=application context=] can be
2589
+ data-export =""> navigation scope of a manifest</ dfn > is the
2590
+ "[=manifest/scope=]" member of a [=Document/processed manifest=]. The
2591
+ navigation scope is the URLs to which an [=application context=] can be
2581
2592
[=navigated=] while the manifest is [=applied=].
2582
2593
</ p >
2583
2594
< div class ="note ">
0 commit comments