



























@@ -170,7 +170,7 @@
170170.mdn .samsunginternet_android::before{background-image:url(https://www.w3.org/assets/logos/browser-logos/samsung-internet/samsung-internet.svg)}
171171.mdn .webview_android::before{background-image:url(https://www.w3.org/assets/logos/browser-logos/android-webview/android-webview.png)}
172172</style>
173-<meta name="revision" content="5cd886af9a0599e766539145ef450e56b17aa9fd">
173+<meta name="revision" content="d5e2eeb1b48de8a0ee581c48f3f083730723d29e">
174174<meta name="description" content="This specification defines a JSON-based file format that provides
175175 developers with a centralized place to put metadata associated with a
176176 web application. This metadata includes, but is not limited to, the web
329329 "github": "https://github.com/w3c/manifest/",
330330 "caniuse": "web-app-manifest",
331331 "xref": "web-platform",
332- "gitRevision": "5cd886af9a0599e766539145ef450e56b17aa9fd",
332+ "gitRevision": "d5e2eeb1b48de8a0ee581c48f3f083730723d29e",
333333 "publishISODate": "2026-05-07T00:00:00.000Z",
334334 "generatedSubtitle": "W3C Editor's Draft 07 May 2026"
335335}</script>
@@ -3843,12 +3843,12 @@ <h1 id="title" class="title">Web Application Manifest</h1>
38433843 </p></div>
38443844 <p>
38453845 Once a manifest is <a data-link-type="dfn|abstract-op" href="#dfn-apply" class="internalDFN" id="ref-for-dfn-apply-18">applied</a> to a <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context" id="ref-for-index-term-top-level-browsing-context-17">top-level browsing context</a>,
3846- the <a data-link-type="dfn|abstract-op" href="#dfn-display-mode" class="internalDFN" id="ref-for-dfn-display-mode-9">display mode</a> in effect is the <dfn id="dfn-applied-display-mode" tabindex="0" aria-haspopup="dialog" data-dfn-type="dfn">applied display
3847-mode</dfn> for that <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context" id="ref-for-index-term-top-level-browsing-context-18">top-level browsing context</a>. The user agent
3848-<em class="rfc2119">MAY</em> change the <a data-link-type="dfn|abstract-op" href="#dfn-applied-display-mode" class="internalDFN" id="ref-for-dfn-applied-display-mode-1">applied display mode</a> for security reasons (e.g.,
3849-the <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context" id="ref-for-index-term-top-level-browsing-context-19">top-level browsing context</a> is <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigate" id="ref-for-index-term-navigated-7">navigated</a> out of
3850-scope) and/or the user agent <em class="rfc2119">MAY</em> provide the user with a means of
3851-switching to another <a data-link-type="dfn|abstract-op" href="#dfn-display-mode" class="internalDFN" id="ref-for-dfn-display-mode-10">display mode</a>.
3846+ the <a data-link-type="dfn|abstract-op" href="#dfn-display-mode" class="internalDFN" id="ref-for-dfn-display-mode-9">display mode</a> in effect is the <dfn id="dfn-applied-display-mode" tabindex="0" aria-haspopup="dialog" data-dfn-type="dfn">applied display mode</dfn>
3847+ for that <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context" id="ref-for-index-term-top-level-browsing-context-18">top-level browsing context</a>. The user agent <em class="rfc2119">MAY</em> change
3848+ the <a data-link-type="dfn|abstract-op" href="#dfn-applied-display-mode" class="internalDFN" id="ref-for-dfn-applied-display-mode-1">applied display mode</a> for security reasons (e.g., the
3849+ <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context" id="ref-for-index-term-top-level-browsing-context-19">top-level browsing context</a> is <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigate" id="ref-for-index-term-navigated-7">navigated</a> out of scope)
3850+ and/or the user agent <em class="rfc2119">MAY</em> provide the user with a means of switching to
3851+ another <a data-link-type="dfn|abstract-op" href="#dfn-display-mode" class="internalDFN" id="ref-for-dfn-display-mode-10">display mode</a>.
38523852 </p>
38533853 <p>
38543854 When the <a data-link-type="dfn|abstract-op" href="#dfn-display" class="internalDFN" id="ref-for-dfn-display-2"><code>display</code></a> member is missing, or if there is no
@@ -3922,14 +3922,13 @@ <h1 id="title" class="title">Web Application Manifest</h1>
39223922 application in the <a data-link-type="css-descriptor" href="https://www.w3.org/TR/mediaqueries-5/#descdef-media-display-mode" id="ref-for-index-term-display-mode-for-media-1"><code>display-mode</code></a> media feature [<cite><a class="bibref" data-link-type="biblio" href="#bib-mediaqueries-5" title="Media Queries Level 5">MEDIAQUERIES-5</a></cite>].
39233923 </p>
39243924 <div class="note" role="note" id="issue-container-generatedID-45"><div class="note-title marker" id="h-note-44"><span>Note</span></div><p class="">
3925- A user agent will expose the <a data-link-type="dfn|abstract-op" href="#dfn-applied-display-mode" class="internalDFN" id="ref-for-dfn-applied-display-mode-4">applied display mode</a> — not
3926- necessarily the one declared in the manifest — via the
3927- <a data-link-type="css-descriptor" href="https://www.w3.org/TR/mediaqueries-5/#descdef-media-display-mode" id="ref-for-index-term-display-mode-for-media-2"><code>display-mode</code></a> media feature, accessible through CSS or
3928- JavaScript. Note that this media feature will also reflect other
3929- display modes for a web page when a manifest is not being applied. For
3930- example, if the end-user puts the page into fullscreen, then the user
3931- agent would reflect this change to CSS and scripts via the
3932- <a data-link-type="css-descriptor" href="https://www.w3.org/TR/mediaqueries-5/#descdef-media-display-mode" id="ref-for-index-term-display-mode-for-media-3"><code>display-mode</code></a> media feature.
3925+ A user agent will expose the <a data-link-type="dfn|abstract-op" href="#dfn-applied-display-mode" class="internalDFN" id="ref-for-dfn-applied-display-mode-4">applied display mode</a> — not necessarily
3926+ the one declared in the manifest — via the <a data-link-type="css-descriptor" href="https://www.w3.org/TR/mediaqueries-5/#descdef-media-display-mode" id="ref-for-index-term-display-mode-for-media-2"><code>display-mode</code></a> media
3927+ feature, accessible through CSS or JavaScript. Note that this media
3928+ feature will also reflect other display modes for a web page when a
3929+ manifest is not being applied. For example, if the end-user puts the
3930+ page into fullscreen, then the user agent would reflect this change to
3931+ CSS and scripts via the <a data-link-type="css-descriptor" href="https://www.w3.org/TR/mediaqueries-5/#descdef-media-display-mode" id="ref-for-index-term-display-mode-for-media-3"><code>display-mode</code></a> media feature.
39333932 </p></div>
39343933 </section>
39353934 <section id="priv-sec"><div class="header-wrapper"><h2 id="x7-privacy-and-security-considerations"><bdi class="secno">7. </bdi>
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。