Skip to content

Commit

Permalink
Editorial: make empty string enumerated attributes consistent
Browse files Browse the repository at this point in the history
Helps with #9832, by consistently using "(the empty string)" and placing such rows in the same place in the enumerated attribute tables.
  • Loading branch information
keithamus authored Jan 12, 2024
1 parent 4ca6ec0 commit 85c7f89
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -13423,12 +13423,12 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></code></pre> <!-- DO NOT REWRAP
<th>Brief description
<tbody>
<tr>
<td>(The empty string)
<td><dfn attr-value for="html-global/translate"><code
data-x="attr-translate-yes-keyword">yes</code></dfn>
<td rowspan=2><dfn data-x="attr-translate-yes-state">yes</dfn>
<td rowspan=2>Sets <span>translation mode</span> to <span>translate-enabled</span>.
<tr>
<td><dfn attr-value for="html-global/translate"><code
data-x="attr-translate-yes-keyword">yes</code></dfn>
<td>(the empty string)
<tr>
<td><dfn attr-value for="html-global/translate"><code
data-x="attr-translate-no-keyword">no</code></dfn>
Expand Down Expand Up @@ -36963,6 +36963,13 @@ interface <dfn interface>MediaError</dfn> {
<th>State
<th>Brief description
<tbody>
<tr>
<td><dfn attr-value for="audio/preload,video/preload"><code
data-x="attr-media-preload-auto">auto</code></dfn>
<td rowspan=2><dfn data-x="attr-media-preload-auto-state">Automatic</dfn>
<td rowspan=2>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.
<tr>
<td>(the empty string)
<tr>
<td><dfn attr-value for="audio/preload,video/preload"><code
data-x="attr-media-preload-none">none</code></dfn>
Expand All @@ -36975,13 +36982,6 @@ interface <dfn interface>MediaError</dfn> {
<td><dfn data-x="attr-media-preload-metadata-state">Metadata</dfn>
<td>Hints to the user agent that the author does not expect the user to need the media resource, but that fetching the resource metadata (dimensions, track list, duration, etc.), and maybe even the first few frames, is reasonable. If the user agent precisely fetches no more than the metadata, then the <span>media element</span> will end up with its <code data-x="dom-media-readyState">readyState</code> attribute set to <code data-x="dom-media-HAVE_METADATA">HAVE_METADATA</code>; typically though, some frames will be obtained as well and it will probably be <code data-x="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code> or <code data-x="dom-media-HAVE_FUTURE_DATA">HAVE_FUTURE_DATA</code>.
When the media resource is playing, hints to the user agent that bandwidth is to be considered scarce, e.g. suggesting throttling the download so that the media data is obtained at the slowest possible rate that still maintains consistent playback.
<tr>
<td><dfn attr-value for="audio/preload,video/preload"><code
data-x="attr-media-preload-auto">auto</code></dfn>
<td rowspan=2><dfn data-x="attr-media-preload-auto-state">Automatic</dfn>
<td rowspan=2>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.
<tr>
<td>(The empty string)
</table>

<p>The attribute's <i data-x="missing value default">missing value default</i> and <i
Expand Down Expand Up @@ -77749,16 +77749,16 @@ END:VCARD</pre>
<th>Brief description
<tbody>
<tr>
<td><dfn attr-value for="html-global/hidden"><code data-x="attr-hidden-until-found">until-found</code></dfn>
<td><dfn data-x="attr-hidden-until-found-state">hidden until found</dfn>
<td>Will not be rendered but content inside will be accessible to <span>find-in-page</span> and
<span data-x="navigate-fragid">fragment navigation</span>
<tr>
<td>The empty string
<td><dfn attr-value for="html-global/hidden"><code data-x="attr-hidden-hidden">hidden</code></dfn>
<td rowspan=2><dfn data-x="attr-hidden-hidden-state">hidden</dfn>
<td rowspan=2>Will not be rendered.
<tr>
<td><dfn attr-value for="html-global/hidden"><code data-x="attr-hidden-hidden">hidden</code></dfn>
<td>(the empty string)
<tr>
<td><dfn attr-value for="html-global/hidden"><code data-x="attr-hidden-until-found">until-found</code></dfn>
<td><dfn data-x="attr-hidden-until-found-state">hidden until found</dfn>
<td>Will not be rendered, but content inside will be accessible to <span>find-in-page</span>
and <span data-x="navigate-fragid">fragment navigation</span>.
</table>

<p>The attribute's <i data-x="missing value default">missing value default</i> is the <dfn
Expand Down Expand Up @@ -80562,7 +80562,7 @@ addShortcutKeyLabel(document.getElementById('c'));</code></pre>
<td rowspan=2><dfn data-x="attr-contenteditable-true-state">true</dfn>
<td rowspan=2>The element is editable.
<tr>
<td>(The empty string)
<td>(the empty string)
<tr>
<td><dfn attr-value for="html-global/contenteditable"><code
data-x="attr-contenteditable-false">false</code></dfn>
Expand Down Expand Up @@ -80850,7 +80850,7 @@ body { display:none }
<td rowspan=2><dfn data-x="attr-spellcheck-true-state">true</dfn>
<td rowspan=2>Spelling and grammar will be checked.
<tr>
<td>(The empty string)
<td>(the empty string)
<tr>
<td><dfn attr-value for="html-global/spellcheck"><code
data-x="attr-spellcheck-false">false</code></dfn>
Expand Down Expand Up @@ -84245,7 +84245,7 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
<td rowspan=2>Closes other popovers when opened; has <span data-x="popover light dismiss">light
dismiss</span> and responds to <span data-x="close request">close requests</span>.
<tr>
<td>(The empty string)
<td>(the empty string)
<tr>
<td><dfn attr-value for="html-global/popover"><code
data-x="attr-popover-manual">manual</code></dfn>
Expand Down

0 comments on commit 85c7f89

Please sign in to comment.