Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (0) WF2: <input type=submit>
git-svn-id: http://svn.whatwg.org/webapps@2269 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 2, 2008
1 parent 64c0fef commit 0203a81
Show file tree
Hide file tree
Showing 2 changed files with 122 additions and 10 deletions.
65 changes: 60 additions & 5 deletions index
Expand Up @@ -24941,6 +24941,8 @@ function AddCloud(data, x, y) { ... }</pre>
<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
the user should allow the user to toggle the <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state.</p>

<!-- XXX event timing; acivation behavior -->

<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
follows:</strong> Do nothing.</p>

Expand Down Expand Up @@ -25019,6 +25021,8 @@ function AddCloud(data, x, y) { ... }</pre>
the user should allow the user to set the <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state of the
element to true.</p>

<!-- XXX event timing; acivation behavior -->

<p>When any of the following events occur, if the element's <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state is true after
the event, the <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state of all the
other elements in the same <i><a href=#radio-button-group>radio button group</a></i> must be set to
Expand Down Expand Up @@ -25083,6 +25087,9 @@ function AddCloud(data, x, y) { ... }</pre>

<p class=XXX>...</p>

<p>The element's <code title=attr-input-value><a href=#attr-input-value>value</a></code>
attribute must be omitted.</p>

<p>The <dfn id=attr-input-accept title=attr-input-accept><code>accept</code></dfn>
attribute may be specified to provide user agents with a hint of
what file types the server will be able to accept.</p>
Expand Down Expand Up @@ -25122,11 +25129,59 @@ function AddCloud(data, x, y) { ... }</pre>
<p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#submit-button-state title=attr-input-type-submit>Submit Button</a> state, the rules
in this section apply.</p>

<p class=XXX>...</p>
<p>The <code><a href=#the-input-element>input</a></code> element represents a button that, when
activated, submits the form. If the element has a <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, the button's label
must be the value of that attribute; otherwise, it must be an
implementation-defined string that means "Submit" or some such.</p>

<!--XXX
rel="" on submit buttons?
-->
<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
the user should allow the user to activate the element.</p>

<!-- XXX event timing; activation behavior -->

<p>When the element is activated, if the element has a <a href=#form-owner>form
owner</a>, the element must <a href=#concept-form-submit title=concept-form-submit>submit</a> the <a href=#form-owner>form
owner</a> from the <code><a href=#the-input-element>input</a></code> element.</p>

<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
follows:</strong> Do nothing.</p>

<p>The following common <code><a href=#the-input-element>input</a></code> element content
attributes and DOM attributes apply to the element:
<code title=attr-fs-action><a href=#attr-fs-action>action</a></code>,
<code title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>,
<code title=attr-fs-method><a href=#attr-fs-method>method</a></code>, and
<code title=attr-fs-target><a href=#attr-fs-target>target</a></code> content attributes;
<code title=dom-input-value><a href=#dom-input-value>value</a></code> DOM attribute.</p>

<p>The <code title=dom-input-value><a href=#dom-input-value>value</a></code> DOM attribute is
in mode <a href=#dom-input-value-default title=dom-input-value-default>default</a>.</p>

<p>The following content attributes must not be specified and do not
apply to the element:
<code class=no-backref title=attr-input-accept><a href=#attr-input-accept>accept</a></code>,
<code class=no-backref title=attr-input-alt><a href=#attr-input-alt>alt</a></code>,
<code class=no-backref title=attr-input-autocomplete><a href=#attr-input-autocomplete>autocomplete</a></code>,
<code class=no-backref title=attr-input-checked><a href=#attr-input-checked>checked</a></code>,
<code class=no-backref title=attr-input-list><a href=#attr-input-list>list</a></code>,
<code class=no-backref title=attr-input-max><a href=#attr-input-max>max</a></code>,
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-input-min><a href=#attr-input-min>min</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code>,
<code class=no-backref title=attr-input-required><a href=#attr-input-required>required</a></code>
<code class=no-backref title=attr-input-size><a href=#attr-input-size>size</a></code>,
<code class=no-backref title=attr-input-src><a href=#attr-input-src>src</a></code>, and
<code class=no-backref title=attr-input-step><a href=#attr-input-step>step</a></code>.</p>

<p>The following DOM attributes and methods do not apply to the element:
<code class=no-backref title=dom-input-checked><a href=#dom-input-checked>checked</a></code>,
<code class=no-backref title=dom-input-list><a href=#dom-input-list>list</a></code>,
<code class=no-backref title=dom-input-selectedOption><a href=#dom-input-selectedoption>selectedOption</a></code>,
<code class=no-backref title=dom-input-valueAsDate><a href=#dom-input-valueasdate>valueAsDate</a></code> and
<code class=no-backref title=dom-input-valueAsNumber><a href=#dom-input-valueasnumber>valueAsNumber</a></code> DOM attributes;
<code class=no-backref title=dom-input-stepDown><a href=#dom-input-stepdown>stepDown()</a></code> and
<code class=no-backref title=dom-input-stepUp><a href=#dom-input-stepup>stepUp()</a></code> methods.</p>



Expand All @@ -25135,7 +25190,7 @@ rel="" on submit buttons?
<p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#image-button-state title=attr-input-type-image>Image Button</a> state, the rules
in this section apply.</p>

<p>the element's <code title=attr-input-value><a href=#attr-input-value>value</a></code>
<p>The element's <code title=attr-input-value><a href=#attr-input-value>value</a></code>
attribute must be omitted.</p>

<p class=XXX>...</p>
Expand Down
67 changes: 62 additions & 5 deletions source
Expand Up @@ -27752,6 +27752,8 @@ function AddCloud(data, x, y) { ... }</pre>
the user should allow the user to toggle the <span
title="concept-fe-checked">checkedness</span> state.</p>

<!-- XXX event timing; acivation behavior -->

<p><strong>The <span>value sanitization algorithm</span> is as
follows:</strong> Do nothing.</p>

Expand Down Expand Up @@ -27842,6 +27844,8 @@ function AddCloud(data, x, y) { ... }</pre>
title="concept-fe-checked">checkedness</span> state of the
element to true.</p>

<!-- XXX event timing; acivation behavior -->

<p>When any of the following events occur, if the element's <span
title="concept-fe-checked">checkedness</span> state is true after
the event, the <span
Expand Down Expand Up @@ -27915,6 +27919,9 @@ function AddCloud(data, x, y) { ... }</pre>

<p class="XXX">...</p>

<p>The element's <code title="attr-input-value">value</code>
attribute must be omitted.</p>

<p>The <dfn title="attr-input-accept"><code>accept</code></dfn>
attribute may be specified to provide user agents with a hint of
what file types the server will be able to accept.</p>
Expand Down Expand Up @@ -27960,11 +27967,61 @@ function AddCloud(data, x, y) { ... }</pre>
title="attr-input-type-submit">Submit Button</span> state, the rules
in this section apply.</p>

<p class="XXX">...</p>
<p>The <code>input</code> element represents a button that, when
activated, submits the form. If the element has a <code
title="attr-input-value">value</code> attribute, the button's label
must be the value of that attribute; otherwise, it must be an
implementation-defined string that means "Submit" or some such.</p>

<!--XXX
rel="" on submit buttons?
-->
<p>If the element is <i title="concept-input-mutable">mutable</i>,
the user should allow the user to activate the element.</p>

<!-- XXX event timing; activation behavior -->

<p>When the element is activated, if the element has a <span>form
owner</span>, the element must <span
title="concept-form-submit">submit</span> the <span>form
owner</span> from the <code>input</code> element.</p>

<p><strong>The <span>value sanitization algorithm</span> is as
follows:</strong> Do nothing.</p>

<p>The following common <code>input</code> element content
attributes and DOM attributes apply to the element:
<code title="attr-fs-action">action</code>,
<code title="attr-fs-enctype">enctype</code>,
<code title="attr-fs-method">method</code>, and
<code title="attr-fs-target">target</code> content attributes;
<code title="dom-input-value">value</code> DOM attribute.</p>

<p>The <code title="dom-input-value">value</code> DOM attribute is
in mode <span title="dom-input-value-default">default</span>.</p>

<p>The following content attributes must not be specified and do not
apply to the element:
<code class="no-backref" title="attr-input-accept">accept</code>,
<code class="no-backref" title="attr-input-alt">alt</code>,
<code class="no-backref" title="attr-input-autocomplete">autocomplete</code>,
<code class="no-backref" title="attr-input-checked">checked</code>,
<code class="no-backref" title="attr-input-list">list</code>,
<code class="no-backref" title="attr-input-max">max</code>,
<code class="no-backref" title="attr-input-maxlength">maxlength</code>,
<code class="no-backref" title="attr-input-min">min</code>,
<code class="no-backref" title="attr-input-pattern">pattern</code>,
<code class="no-backref" title="attr-input-readonly">readonly</code>,
<code class="no-backref" title="attr-input-required">required</code>
<code class="no-backref" title="attr-input-size">size</code>,
<code class="no-backref" title="attr-input-src">src</code>, and
<code class="no-backref" title="attr-input-step">step</code>.</p>

<p>The following DOM attributes and methods do not apply to the element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-list">list</code>,
<code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
<code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code> and
<code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes;
<code class="no-backref" title="dom-input-stepDown">stepDown()</code> and
<code class="no-backref" title="dom-input-stepUp">stepUp()</code> methods.</p>



Expand All @@ -27975,7 +28032,7 @@ rel="" on submit buttons?
title="attr-input-type-image">Image Button</span> state, the rules
in this section apply.</p>

<p>the element's <code title="attr-input-value">value</code>
<p>The element's <code title="attr-input-value">value</code>
attribute must be omitted.</p>

<p class="XXX">...</p>
Expand Down

0 comments on commit 0203a81

Please sign in to comment.