Skip to content

Commit

Permalink
Editorial: make fetch priority attributes consistent
Browse files Browse the repository at this point in the history
Helps with whatwg#9832.
  • Loading branch information
keithamus committed Oct 9, 2023
1 parent 52f546d commit 9b00dea
Showing 1 changed file with 28 additions and 29 deletions.
57 changes: 28 additions & 29 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -7746,39 +7746,38 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

<h4>Fetch priority attributes</h4>

<p>A <dfn>fetch priority attribute</dfn> is an <span>enumerated attribute</span>. The following
table lists the keywords and states for the attribute — the keywords in the left column map to
the states in the cell in the second column on the same row as the keyword.</p>
<p>A <dfn>fetch priority attribute</dfn> is an <span>enumerated attribute</span> with the
following keywords and states:</p>

<table>
<thead>
<thead>
<tr>
<th>Keyword
<th>State
<th>Description
<tbody>
<th>Keyword
<th>State
<th>Brief description
<tbody>
<tr>
<td><dfn attr-value
for="img/fetchpriority,script/fetchpriority,link/fetchpriority"
data-x="attr-fetchpriority-high"><code>high</code></dfn>
<td><dfn data-x="attr-fetchpriority-high-state">high</dfn>
<td>Signals a high-priority <span data-x="concept-fetch">fetch</span> relative to other
resources with the same <span data-x="concept-request-destination">destination</span>.
<tr>
<td><dfn attr-value
for="img/fetchpriority,script/fetchpriority,link/fetchpriority"
data-x="attr-fetchpriority-low"><code>low</code></dfn>
<td><dfn data-x="attr-fetchpriority-low-state">low</dfn>
<td>Signals a low-priority <span data-x="concept-fetch">fetch</span> relative to other
resources with the same <span data-x="concept-request-destination">destination</span>.
<tr>
<td><dfn attr-value
for="img/fetchpriority,script/fetchpriority,link/fetchpriority"
data-x="attr-fetchpriority-auto"><code>auto</code></dfn>
<td><dfn data-x="attr-fetchpriority-auto-state">auto</dfn>
<td>Signals automatic determination of <span data-x="concept-fetch">fetch</span> priority
relative to other resources with the same <span
data-x="concept-request-destination">destination</span>.
<td><dfn attr-value
for="img/fetchpriority,script/fetchpriority,link/fetchpriority"
data-x="attr-fetchpriority-high"><code>high</code></dfn>
<td><dfn data-x="attr-fetchpriority-high-state">high</dfn>
<td>Signals a high-priority <span data-x="concept-fetch">fetch</span> relative to other
resources with the same <span data-x="concept-request-destination">destination</span>.
<tr>
<td><dfn attr-value
for="img/fetchpriority,script/fetchpriority,link/fetchpriority"
data-x="attr-fetchpriority-low"><code>low</code></dfn>
<td><dfn data-x="attr-fetchpriority-low-state">low</dfn>
<td>Signals a low-priority <span data-x="concept-fetch">fetch</span> relative to other
resources with the same <span data-x="concept-request-destination">destination</span>.
<tr>
<td><dfn attr-value
for="img/fetchpriority,script/fetchpriority,link/fetchpriority"
data-x="attr-fetchpriority-auto"><code>auto</code></dfn>
<td><dfn data-x="attr-fetchpriority-auto-state">auto</dfn>
<td>Signals automatic determination of <span data-x="concept-fetch">fetch</span> priority
relative to other resources with the same <span
data-x="concept-request-destination">destination</span>.
</table>

<p>The attribute's <i data-x="missing value default">missing value default</i> and
Expand Down

0 comments on commit 9b00dea

Please sign in to comment.