Skip to content

Commit

Permalink
Editorial: make preload attributes table consistent
Browse files Browse the repository at this point in the history
Helps with whatwg#9832.
  • Loading branch information
keithamus committed Oct 12, 2023
1 parent 3ca0811 commit 25adeab
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -36858,18 +36858,15 @@ interface <dfn interface>MediaError</dfn> {
<hr>

<p>The <dfn element-attr for="audio,video"><code data-x="attr-media-preload">preload</code></dfn>
attribute is an <span>enumerated attribute</span>. The following table lists the keywords and
states for the attribute &mdash; the keywords in the left column map to the states in the cell in
the second column on the same row as the keyword. The attribute can be changed even once the
<span>media resource</span> is being buffered or played; the descriptions in the table below are
to be interpreted with that in mind.</p>
attribute is an <span>enumerated attribute</span> with the following keywords and
states:</p>

<table>
<thead>
<tr>
<th> Keyword
<th> State
<th> Brief description
<th>Keyword
<th>State
<th>Brief description
<tbody>
<tr>
<td><dfn attr-value for="audio/preload,video/preload"><code
Expand All @@ -36890,6 +36887,9 @@ interface <dfn interface>MediaError</dfn> {
<td>Hints to the user agent that the user agent can put the user's needs first without risk to the server, up to and including optimistically downloading the entire resource.
</table>

<p>The attribute can be changed even once the <span>media resource</span> is being buffered or
played; the descriptions in the table above are to be interpreted with that in mind.</p>

<p>The empty string is also a valid keyword, and maps to the <span
data-x="attr-media-preload-auto-state">Automatic</span> state. The attribute's <i data-x="missing
value default">missing value default</i> and <i data-x="invalid value default">invalid value
Expand Down

0 comments on commit 25adeab

Please sign in to comment.