Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert 'Clarify that media="" and lang="" affect manifest selection' #6502

Merged
merged 1 commit into from
Mar 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -24675,14 +24675,10 @@ document.body.appendChild(wbr);</code></pre>

<p>The appropriate time to <span>fetch and process the linked resource</span> for this link type
is when the user agent deems it necessary. For example, when the user chooses to <span
data-x="installed web application">install the web application</span>.</p>

<p>When selecting a manifest, the user agent must select the most appropriate <code>link</code>
element whose <code data-x="attr-link-rel">rel</code> attribute contains the token <code
data-x="rel-manifest">manifest</code>, while taking into consideration the <code
data-x="attr-link-media">media</code> and <code data-x="attr-lang">lang</code> attributes (if
either is present). If there are multiple equally appropriate <code>link</code> elements, the user
agent must use the last one declared in <span>tree order</span>.</p>
data-x="installed web application">install the web application</span>. In that case, only the
first <code>link</code> element in <span>tree order</span> whose <code
data-x="attr-link-rel">rel</code> attribute contains the token <code
data-x="rel-manifest">manifest</code> may be used.</p>

<p>A user agent must not <span>delay the load event</span> for this link type.</p>

Expand Down