diff --git a/index.html b/index.html index 9822ec28..97178b58 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ - + - +

Web Application Manifest

-

W3C Editor's Draft

+

W3C Editor's Draft

More details about this document
@@ -1185,8 +1185,7 @@

Web Application Manifest

  • If scope is failure, return.
  • -
  • From scope, remove the query and fragment - components. +
  • Set scope's query and fragment to null.
  • If manifest["start_url"] is not within scope of scope, return. @@ -1630,17 +1629,30 @@

    Web Application Manifest

    application, it SHOULD treat that manifest as a description of a distinct application, even if it is served from the same URL as that of another application. When the user agent sees a manifest where - manifest["id"] is equal with exclude fragment true to the identity of an + manifest["id"] is equal (with exclude fragments OPTIONALLY set to true) to the identity of an already-installed application, it SHOULD be used as a signal that this manifest is a replacement for the already-installed application's manifest, and not a distinct application, even if it is served from a different URL than the one seen previously.

    -
    Note

    +

    Note: Excluding fragments is best practice
    +
    Note

    The identity can be used by a service that collects lists of web applications to uniquely identify applications.

    -
    Note

    +

    Note

    The identity is processed like a URL but it doesn't point to a resource that can be navigated to, so it's not required to be within scope. @@ -1666,6 +1678,8 @@

    Web Application Manifest

  • If id is not same origin as manifest["start_url"], return.
  • +
  • Set id's fragment to null. +
  • Set manifest["id"] to id.
  • @@ -1674,7 +1688,7 @@

    Web Application Manifest

    The table below shows some example ids resulting from the - process the id member steps. + process the id member steps.

    @@ -1707,7 +1721,7 @@

    Web Application Manifest

    "https://example.com/my-app/#here" @@ -1743,6 +1757,28 @@

    Web Application Manifest

    "https://example.com/foo" + + + + + + + + + +
    - "https://example.com/my-app/#here" + "https://example.com/my-app/"
    + "foo?x=y" + + "https://example.com/my-app/start" + + "https://example.com/foo?x=y" +
    + "foo#heading" + + "https://example.com/my-app/start" + + "https://example.com/foo" +
    "./foo" @@ -1789,7 +1825,7 @@

    Web Application Manifest

    - Since id is resolved against start_url's + Since id is resolved against start_url's origin, providing "../foo", "foo", "/foo", "./foo" all resolves to the same identifier. As such, best practice is to use a leading "/" to be explicit that the id is a root-relative URL @@ -1867,7 +1903,7 @@

    Web Application Manifest

    Implementors MAY override the value defined by the theme_color member to support prefers-color-scheme.

    -
    Note

    +

    Note

    When processing a manifest, the process a color member algorithm is used to process the theme_color member.

    @@ -2105,7 +2141,7 @@

    Web Application Manifest

    Implementors MAY override the value defined by the background_color member to support prefers-color-scheme.

    -
    Note

    +

    Note

    When processing a manifest, the process a color member algorithm is used to process background_color member.

    @@ -2162,7 +2198,7 @@

    Web Application Manifest

    shortcut items that provide access to key tasks within a web application.

    -
    Note