Skip to content

Commit 2aae8f9

Browse files
committed
"Clarify the definition of "navigation scope", "applied", and off-scope theming"
1 parent 55e6818 commit 2aae8f9

File tree

1 file changed

+33
-24
lines changed

1 file changed

+33
-24
lines changed

index.html

+33-24
Original file line numberDiff line numberDiff line change
@@ -1091,12 +1091,16 @@ <h3>
10911091
</p>
10921092
<p>
10931093
If the user agent honors the value of the [=manifest/theme_color=]
1094-
member as the <a>default theme color</a>, then that color serves as
1095-
the <a>theme color</a> for all browsing contexts to which the
1096-
manifest is <a>applied</a>. However, a document may override the
1097-
<a>default theme color</a> through the inclusion of a valid [[HTML]]
1098-
[^meta^] element whose [^meta/name^] attribute value is
1099-
`"theme-color"`.
1094+
member as the [=default theme color=], then that color serves as the
1095+
[=theme color=] for all browsing contexts to which the manifest is
1096+
[=applied=]. However, the user agent MAY override the [=default theme
1097+
color=] if a document whose URL is [=within scope=] of the
1098+
[=application context=]'s [=manifest=] includes a [^meta^] element
1099+
whose [^meta/name^] attribute is "[^meta/name/theme-color^]".
1100+
However, the user agent SHOULD NOT override the [=default theme
1101+
color=] via an [^meta^] element whose [^meta/name^] attribute is
1102+
"theme-color" for documents that are not [=within scope=], since the
1103+
application has no control over these documents.
11001104
</p>
11011105
<p data-cite="CSS-COLOR-4">
11021106
The user agent MAY ignore the <a>theme color</a>'s [=alpha
@@ -1497,12 +1501,23 @@ <h3 id="applying">
14971501
Applying the manifest
14981502
</h3>
14991503
<p>
1500-
A [=Document/processed manifest=] is <dfn data-export=""
1501-
data-local-lt="apply|applying">applied</dfn> to a <a>top-level
1502-
browsing context</a>, meaning that the members of the
1503-
[=Document/processed manifest=] are affecting the presentation or
1504-
behavior of a browsing context.
1504+
A [=Document/processed manifest=] is <dfn data-lt=
1505+
"apply|applying">applied</dfn> to a [=top-level browsing context=],
1506+
meaning that the members of the <a>manifest</a> are affecting the
1507+
presentation and/or behavior of the browsing context. Whenever a
1508+
[=top-level browsing context=] is created, the user agent MAY
1509+
[=apply=] a manifest to it before [=navigate|navigation=] begins.
15051510
</p>
1511+
<aside class="note">
1512+
Whether to [=apply=] a manifest, and which manifest to apply, is at
1513+
the discretion of the user agent, based on the user's actions. For
1514+
example, if the user launched an application from the system menu
1515+
or from a [=launching a shortcut|shortcut=], the user agent might
1516+
create a new [=top-level browsing context=] with that application's
1517+
[=manifest=] [=applied=], but it might not do so if the user simply
1518+
clicked a bookmark to a URL within the application's [=navigation
1519+
scope=].
1520+
</aside>
15061521
<p>
15071522
A <a>top-level browsing context</a> that has a manifest applied to
15081523
it is referred to as an <dfn data-export="">application
@@ -1524,11 +1539,6 @@ <h3 id="applying">
15241539
changed it when the application was <a>installed</a>.
15251540
</p>
15261541
</aside>
1527-
<p>
1528-
The appropriate time to <a>apply</a> a manifest is when the
1529-
<a>application context</a> is created and before
1530-
[=navigate|navigation=] to the <a>start URL</a> begins.
1531-
</p>
15321542
</section>
15331543
<section id="updating">
15341544
<h3>
@@ -1664,10 +1674,9 @@ <h3>
16641674
</dt>
16651675
<dd>
16661676
The user agent is free to display the icon where no [=manifest
1667-
image resource/purpose=] is required. For example, a
1668-
[=manifest image resource=] with a "any" purpose
1669-
wouldn't be used in a context where "[=icon purpose/monochrome=]"
1670-
is required.
1677+
image resource/purpose=] is required. For example, a [=manifest
1678+
image resource=] with a "any" purpose wouldn't be used in a context
1679+
where "[=icon purpose/monochrome=]" is required.
16711680
</dd>
16721681
</dl>
16731682
<p>
@@ -2465,10 +2474,10 @@ <h2>
24652474
</h2>
24662475
<p>
24672476
The <dfn data-dfn-for="manifest" data-lt="navigation scope"
2468-
data-export="">navigation scope of a manifest</dfn> is the "scope" item
2469-
of a [=Document/processed manifest=]. The navigation scope restricts
2470-
the set of URLs to which an [=application context=] can be
2471-
[=navigated=] while the manifest is [=applied=].
2477+
data-export="">navigation scope of a manifest</dfn> is the
2478+
"<a>scope</a>" member of a [=Document/processed manifest=]. The
2479+
navigation scope governs the set of URLs to which an [=application
2480+
context=] can be [=navigated=] while the manifest is [=applied=].
24722481
</p>
24732482
<div class="note">
24742483
<p>

0 commit comments

Comments
 (0)