Skip to content

Commit

Permalink
format CORS enumerated attributes HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
keithamus committed Oct 5, 2023
1 parent 43b1200 commit be01e79
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -7320,9 +7320,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

<h4>CORS settings attributes</h4>

<p>A <dfn>CORS settings attribute</dfn> is an <span>enumerated attribute</span>. The following
table lists the keywords and states for the attribute &mdash; the states given in the first cell
of the rows with keywords give the states to which those keywords map.</p>
<p>A <dfn>CORS settings attribute</dfn> The attribute is an <span>enumerated attribute</span> with
the following keywords and states:</p>

<table>
<thead>
Expand All @@ -7338,15 +7337,19 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<span data-x="concept-request-mode">mode</span> set to "<code data-x="">cors</code>" and their
<span data-x="concept-request-credentials-mode">credentials mode</span> set to "<code
data-x="">same-origin</code>".
</tr>
<tr>
<td>(the empty string)
</tr>
<tr>
<td><dfn data-x="attr-crossorigin-use-credentials">Use Credentials</dfn>
<td><dfn attr-value for="audio/crossorigin,video/crossorigin,img/crossorigin,link/crossorigin,script/crossorigin"><code data-x="attr-crossorigin-use-credentials-keyword">use-credentials</code></dfn>
<td><span data-x="concept-request">Requests</span> for the element will have their <span
data-x="concept-request-mode">mode</span> set to "<code data-x="">cors</code>" and their <span
data-x="concept-request-credentials-mode">credentials mode</span> set to "<code
data-x="">include</code>".
</tr>
</tbody>
</table>

<p>The attribute's <i data-x="invalid value default">invalid value default</i> is the <span
Expand Down

0 comments on commit be01e79

Please sign in to comment.