Skip to content

Commit

Permalink
Editorial: make http-equiv attributes table consistent
Browse files Browse the repository at this point in the history
Helps with #9832.
  • Loading branch information
keithamus authored Nov 21, 2023
1 parent 3bfb5a8 commit 28ed1c0
Showing 1 changed file with 29 additions and 21 deletions.
50 changes: 29 additions & 21 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -16823,52 +16823,60 @@ interface <dfn interface>HTMLMetaElement</dfn> : <span>HTMLElement</span> {
<code>meta</code> element, the element is a pragma directive.</p>

<p>The <code data-x="attr-meta-http-equiv">http-equiv</code> attribute is an <span>enumerated
attribute</span>. The following table lists the keywords defined for this attribute. The states
given in the first cell of the rows with keywords give the states to which those keywords map.
<span w-nodev>Some of the keywords are non-conforming, as noted in the last
column.</span></p>
attribute</span> with the following keywords and states:</p>

<table id="table-http-equiv">
<table class="yesno" id="table-http-equiv">
<thead>
<tr>
<th>State
<th>Keyword
<th>Notes
<th w-nodev>Conforming
<th>State
<th>Brief description
<tbody>
<tr w-nodev>
<td><span data-x="attr-meta-http-equiv-content-language">Content Language</span>
<td><dfn attr-value for="meta/http-equiv"><code
data-x="attr-meta-http-equiv-keyword-content-language">content-language</code></dfn>
<td>Non-conforming
<td class="no">No
<td><span data-x="attr-meta-http-equiv-content-language">Content language</span>
<td>Sets the <span data-x="pragma-set default language">pragma-set default language</span>.
<tr>
<td><dfn attr-value for="meta/http-equiv"><code
data-x="attr-meta-http-equiv-keyword-content-type">content-type</code></dfn>
<td w-nodev>
<td><span data-x="attr-meta-http-equiv-content-type">Encoding declaration</span>
<td><dfn attr-value for="meta/http-equiv"><code data-x="attr-meta-http-equiv-keyword-content-type">content-type</code></dfn>
<td>
<td>An alternative form of setting the <code data-x="attr-meta-charset">charset</code>.
<tr>
<td><span data-x="attr-meta-http-equiv-default-style">Default style</span>
<td><dfn attr-value for="meta/http-equiv"><code
data-x="attr-meta-http-equiv-keyword-default-style">default-style</code></dfn>
<td>
<td w-nodev>
<td><span data-x="attr-meta-http-equiv-default-style">Default style</span>
<td>Sets the <span data-x="CSS style sheet set name">name</span> of the default
<span>CSS style sheet set</span>.
<tr>
<td><span data-x="attr-meta-http-equiv-refresh">Refresh</span>
<td><dfn attr-value for="meta/http-equiv"><code
data-x="attr-meta-http-equiv-keyword-refresh">refresh</code></dfn>
<td>
<td w-nodev>
<td><span data-x="attr-meta-http-equiv-refresh">Refresh</span>
<td>Acts as a timed redirect.
<tr w-nodev>
<td><span data-x="attr-meta-http-equiv-set-cookie">Set-Cookie</span>
<td><dfn attr-value for="meta/http-equiv"><code
data-x="attr-meta-http-equiv-keyword-set-cookie">set-cookie</code></dfn>
<td>Non-conforming
<td class="no">No
<td><span data-x="attr-meta-http-equiv-set-cookie">Set-Cookie</span>
<td>Has no effect.
<tr>
<td><span data-x="attr-meta-http-equiv-x-ua-compatible">X-UA-Compatible</span>
<td><dfn attr-value for="meta/http-equiv"><code
data-x="attr-meta-http-equiv-keyword-x-ua-compatible">x-ua-compatible</code></dfn>
<td>
<td w-nodev>
<td><span data-x="attr-meta-http-equiv-x-ua-compatible">X-UA-Compatible</span>
<td>In practice, encourages Internet Explorer to more closely follow the specifications.
<tr>
<td><span data-x="attr-meta-http-equiv-content-security-policy">Content security policy</span>
<td><dfn attr-value for="meta/http-equiv"><code
data-x="attr-meta-http-equiv-keyword-content-security-policy">content-security-policy</code></dfn>
<td>
<td w-nodev>
<td><span data-x="attr-meta-http-equiv-content-security-policy">Content security policy</span>
<td><span data-x="enforce the policy">Enforces</span> a <span>Content Security
Policy</span> on a <code>Document</code>.
</table>

<!--
Expand Down

0 comments on commit 28ed1c0

Please sign in to comment.