Skip to content

Commit

Permalink
[optional] Editorial: Add "form or search" note to form-related sections
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaleidea committed Dec 1, 2021
1 parent fbb1c7d commit 4d85297
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -53188,6 +53188,9 @@ interface <dfn interface>HTMLLegendElement</dfn> : <span>HTMLElement</span> {

<h4 split-filename="form-control-infrastructure">Form control infrastructure</h4>

<p class="note">In this section <span data-x="concept-form">form</span>
refers to either a <code>form</code> or a <code>search</code> element.</p>

<h5>A form control's value</h5>

<p>Most form controls have a <dfn data-x="concept-fe-value">value</dfn> and a <dfn
Expand Down Expand Up @@ -53431,6 +53434,9 @@ interface <dfn interface>HTMLLegendElement</dfn> : <span>HTMLElement</span> {

<h4>Attributes common to form controls</h4>

<p class="note">In this section <span data-x="concept-form">form</span>
refers to either a <code>form</code> or a <code>search</code> element.</p>

<h5>Naming form controls: the <code data-x="attr-fe-name">name</code> attribute</h5>

<p>The <dfn element-attr for="button,fieldset,input,output,select,textarea"><code
Expand Down Expand Up @@ -56099,6 +56105,9 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD

<div w-nodev>

<p class="note">In this section <span data-x="concept-form">form</span>
refers to either a <code>form</code> or a <code>search</code> element.</p>

<h5>Definitions</h5>

<p>A <span data-x="category-submit">submittable element</span> is a <dfn>candidate for constraint
Expand Down Expand Up @@ -56687,6 +56696,9 @@ interface <dfn interface>ValidityState</dfn> {

<div w-nodev>

<p class="note">In this section <span data-x="concept-form">form</span>
refers to either a <code>form</code> or a <code>search</code> element.</p>

<h5>Introduction</h5>

</div>
Expand Down Expand Up @@ -56736,6 +56748,9 @@ fur

<h5>Implicit submission</h5>

<p class="note">In this section <span data-x="concept-form">form</span>
refers to either a <code>form</code> or a <code>search</code> element.</p>

<p>A <span data-x="concept-form">form</span>'s <dfn>default button</dfn> is the first <span
data-x="concept-submit-button">submit button</span> in <span>tree order</span> whose <span>form
owner</span> is that <span data-x="concept-form">form</span>.</p>
Expand Down Expand Up @@ -56783,6 +56798,9 @@ fur

<h5>Form submission algorithm</h5>

<p class="note">In this section <span data-x="concept-form">form</span>
refers to either a <code>form</code> or a <code>search</code> element.</p>

<p>Each <span data-x="concept-form">form</span> has a <dfn>constructing entry list</dfn>
boolean, initially false.</p>

Expand Down Expand Up @@ -57428,6 +57446,9 @@ fur

<h5>Selecting a form submission encoding</h5>

<p class="note">In this section <span data-x="concept-form">form</span>
refers to either a <code>form</code> or a <code>search</code> element.</p>

<p>If the user agent is to <dfn data-x="picking an encoding for the form">pick an encoding for a
form</dfn>, it must run the following steps:</p>

Expand Down Expand Up @@ -57681,6 +57702,9 @@ dictionary <dfn dictionary>FormDataEventInit</dfn> : <span>EventInit</span> {

<h4>Resetting a form</h4>

<p class="note">In this section <span data-x="concept-form">form</span>
refers to either a <code>form</code> or a <code>search</code> element.</p>

<p>When a <span data-x="concept-form">form</span> <var>form</var> is <dfn
data-x="concept-form-reset">reset</dfn>, run these steps:</p>

Expand Down Expand Up @@ -67740,6 +67764,9 @@ document.body.appendChild(flagIcon)</code></pre>

<!-- NON-NORMATIVE SECTION -->

<p class="note">In this section <span data-x="concept-form">form</span>
refers to either a <code>form</code> or a <code>search</code> element.</p>

<p>Adding a static <code data-x="">formAssociated</code> property, with a true value, makes an
<span>autonomous custom element</span> a <span>form-associated custom element</span>. The
<code>ElementInternals</code> interface helps you to implement functions and properties common
Expand Down Expand Up @@ -69503,6 +69530,9 @@ dictionary <dfn dictionary>ValidityStateFlags</dfn> {

<h5>Form-associated custom elements</h5>

<p class="note">In this section <span data-x="concept-form">form</span>
refers to either a <code>form</code> or a <code>search</code> element.</p>

<dl class="domintro">
<dt><code data-x=""><var>internals</var>.<span data-x="dom-ElementInternals-setFormValue">setFormValue</span>(<var>value</var>)</code></dt>
<dd>
Expand Down

0 comments on commit 4d85297

Please sign in to comment.