@@ -1091,12 +1091,16 @@ <h3>
1091
1091
</ p >
1092
1092
< p >
1093
1093
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.
1100
1104
</ p >
1101
1105
< p data-cite ="CSS-COLOR-4 ">
1102
1106
The user agent MAY ignore the < a > theme color</ a > 's [=alpha
@@ -1497,12 +1501,23 @@ <h3 id="applying">
1497
1501
Applying the manifest
1498
1502
</ h3 >
1499
1503
< 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.
1505
1510
</ 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 >
1506
1521
< p >
1507
1522
A < a > top-level browsing context</ a > that has a manifest applied to
1508
1523
it is referred to as an < dfn data-export =""> application
@@ -1524,11 +1539,6 @@ <h3 id="applying">
1524
1539
changed it when the application was < a > installed</ a > .
1525
1540
</ p >
1526
1541
</ 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 >
1532
1542
</ section >
1533
1543
< section id ="updating ">
1534
1544
< h3 >
@@ -1664,10 +1674,9 @@ <h3>
1664
1674
</ dt >
1665
1675
< dd >
1666
1676
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.
1671
1680
</ dd >
1672
1681
</ dl >
1673
1682
< p >
@@ -2465,10 +2474,10 @@ <h2>
2465
2474
</ h2 >
2466
2475
< p >
2467
2476
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=].
2472
2481
</ p >
2473
2482
< div class ="note ">
2474
2483
< p >
0 commit comments