Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: add enumerated attribute table for formmethod #10045

45 changes: 27 additions & 18 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -56029,25 +56029,34 @@ form.method === input; // => true</code></pre>
content attributes are <span data-x="enumerated attribute">enumerated attributes</span> with the
following keywords and states:</p>

<ul>
<li>The keyword <dfn attr-value for="form/method,button/method"><code
data-x="attr-fs-method-GET-keyword">get</code></dfn>, mapping to the state <dfn
data-x="attr-fs-method-GET">GET</dfn>, indicating the HTTP GET method.</li>

<li>The keyword <dfn attr-value for="form/method,button/method"><code
data-x="attr-fs-method-POST-keyword">post</code></dfn>, mapping to the state <dfn
data-x="attr-fs-method-POST">POST</dfn>, indicating the HTTP POST method.</li>

<li>The keyword <dfn attr-value for="form/method,button/method"><code
data-x="attr-fs-method-dialog-keyword">dialog</code></dfn>, mapping to the state <dfn
data-x="attr-fs-method-dialog">dialog</dfn>, indicating that submitting the <code>form</code> is
intended to close the <code>dialog</code> box in which the form finds itself, if any, and
otherwise not submit.</li>
</ul>
<table>
<thead>
<tr>
<th>Keyword
<th>State
<th>Brief description
<tbody>
<tr>
<td><dfn attr-value for="form/method,button/formmethod,input/formmethod"><code
data-x="attr-fs-method-GET-keyword">get</code></dfn>
<td><dfn data-x="attr-fs-method-GET">GET</dfn>
<td>Indicates the <code>form</code> will use the HTTP GET method.
<tr>
<td><dfn attr-value for="form/method,button/formmethod,input/formmethod"><code
data-x="attr-fs-method-POST-keyword">post</code></dfn>
<td><dfn data-x="attr-fs-method-POST">POST</dfn>
<td>Indicates the <code>form</code> will use the HTTP POST method.
<tr>
<td><dfn attr-value for="form/method,button/formmethod,input/formmethod"><code
data-x="attr-fs-method-dialog-keyword">dialog</code></dfn>
<td><dfn data-x="attr-fs-method-dialog">Dialog</dfn>
<td>Indicates the <code>form</code> is intended to close the <code>dialog</code> box in which
the form finds itself, if any, and otherwise not submit.
</table>

<p>The attribute's <i data-x="missing value default">missing value default</i> and <i
data-x="invalid value default">invalid value default</i> are both the <span
data-x="attr-fs-method-GET">GET</span> state.</p>
<p>The <code data-x="attr-fs-method">method</code> attribute's <i data-x="missing value
default">missing value default</i> and <i data-x="invalid value default">invalid value default</i>
keithamus marked this conversation as resolved.
Show resolved Hide resolved
are both the <span data-x="attr-fs-method-GET">GET</span> state.</p>

<p>The <code data-x="attr-fs-formmethod">formmethod</code> attribute has no <i data-x="missing
value default">missing value default</i>, and its <i data-x="invalid value default">invalid value
Expand Down
Loading