HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2269WF2: <input type=submit>2008-10-02 21:45
@@ -27745,20 +27745,22 @@ function AddCloud(data, x, y) { ... }</pre>
   that represents the element's <span
   title="concept-fe-checked">checkedness</span> state. If the
   element's <span title="concept-fe-checked">checkedness</span> state
   is true, the control represents a positive selection, and if it is
   false, a negative selection.</p>
 
   <p>If the element is <i title="concept-input-mutable">mutable</i>,
   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>
 
   <p>The following common <code>input</code> element content
   attributes and DOM attributes apply to the element:
   <code title="attr-input-checked">checked</code>, and
   <code title="attr-input-required">required</code> content attributes;
   <code title="dom-input-checked">checked</code> and
   <code title="dom-input-value">value</code> DOM attributes.</p>
 
@@ -27835,20 +27837,22 @@ function AddCloud(data, x, y) { ... }</pre>
   </ul>
 
   <p>A document must not contain an <code>input</code> element whose
   <i>radio button group</i> contains only that element.</p>
 
   <p>If the element is <i title="concept-input-mutable">mutable</i>,
   the user should allow the user to set the <span
   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
   title="concept-fe-checked">checkedness</span> state of all the
   other elements in the same <i>radio button group</i> must be set to
   false:</p> <!-- XXX event firing order and timing -->
 
   <ul>
 
    <li>The element's <span
@@ -27908,20 +27912,23 @@ function AddCloud(data, x, y) { ... }</pre>
 
   <h6><dfn title="attr-input-type-file">File</dfn> state</h6>
 
   <p>When an <code>input</code> element's <code
   title="attr-input-type">type</code> attribute is in the <span
   title="attr-input-type-file">File</span> state, the rules in this
   section apply.</p>
 
   <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>
 
   <p>If specified, the attribute must consist of a <span>set of
   comma-separated tokens</span>, each of which must be an <span>ASCII
   case-insensitive</span> match for one of the following:</p>
 
   <dl>
 
@@ -27953,36 +27960,86 @@ function AddCloud(data, x, y) { ... }</pre>
 
 
 
   <h6><dfn title="attr-input-type-submit">Submit Button</dfn> state</h6>
 
   <p>When an <code>input</code> element's <code
   title="attr-input-type">type</code> attribute is in the <span
   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>
 
 
 
   <h6><dfn title="attr-input-type-image">Image Button</dfn> state</h6>
 
   <p>When an <code>input</code> element's <code
   title="attr-input-type">type</code> attribute is in the <span
   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>
 
   <p class="XXX">... <dfn title="attr-input-alt"><code>alt</code></dfn></p>
 
   <p class="XXX">... <dfn title="attr-input-src"><code>src</code></dfn></p>
 
   <p class="XXX">... image: <dfn title="concept-input-type-image-coordinate">selected coordinate</dfn></p>
 

|