[html5] r2234 - [] (0) WF2: Oops, broke the reset algorithm for <input> elements.

whatwg at whatwg.org whatwg at whatwg.org
Wed Sep 24 18:11:41 PDT 2008


Author: ianh
Date: 2008-09-24 18:11:40 -0700 (Wed, 24 Sep 2008)
New Revision: 2234

Modified:
   index
   source
Log:
[] (0) WF2: Oops, broke the reset algorithm for <input> elements.

Modified: index
===================================================================
--- index	2008-09-25 01:05:03 UTC (rev 2233)
+++ index	2008-09-25 01:11:40 UTC (rev 2234)
@@ -29623,9 +29623,13 @@
    algorithm</a> for <code><a href="#input0">input</a></code> elements is to
    set the <a href="#dirty" title=concept-input-dirty-flag>dirty flag</a>
    back to false (not <i title=concept-input-dirty><a
-   href="#dirty0">dirty</a></i>), and then invoke the <a href="#value8">value
-   sanitization algorithm</a> defined for the <code title=attr-input-type><a
-   href="#type14">type</a></code> attribute's current state.
+   href="#dirty0">dirty</a></i>), set the <a href="#value12"
+   title=concept-fe-value>value</a> of the element to the value of the <code
+   title=attr-input-value><a href="#value9">value</a></code> content
+   attribute, if there is one, or the empty string otherwise, and then invoke
+   the <a href="#value8">value sanitization algorithm</a> defined for the
+   <code title=attr-input-type><a href="#type14">type</a></code> attribute's
+   current state.
 
   <p>The <code title=attr-fae-form><a href="#form0">form</a></code> attribute
    is used to explicitly associate the <code><a
@@ -29649,8 +29653,7 @@
    title=dom-input-step><code>step</code></dfn>, and <dfn id=type15
    title=dom-input-type><code>type</code></dfn> DOM attributes must <a
    href="#reflect">reflect</a> the content attributes with the same names.
-
-  <p>The <dfn id=maxlength
+   The <dfn id=maxlength
    title=dom-input-maxLength><code>maxLength</code></dfn> DOM attribute must
    <a href="#reflect">reflect</a> the <code title=attr-input-maxlength><a
    href="#maxlength0">maxlength</a></code> content attribute. The <dfn

Modified: source
===================================================================
--- source	2008-09-25 01:05:03 UTC (rev 2233)
+++ source	2008-09-25 01:11:40 UTC (rev 2234)
@@ -26136,7 +26136,10 @@
   <p>The <span title="concept-form-reset-control">reset
   algorithm</span> for <code>input</code> elements is to set the <span
   title="concept-input-dirty-flag">dirty flag</span> back to false
-  (not <i title="concept-input-dirty">dirty</i>), and then invoke the
+  (not <i title="concept-input-dirty">dirty</i>), set the <span
+  title="concept-fe-value">value</span> of the element to the value of
+  the <code title="attr-input-value">value</code> content attribute,
+  if there is one, or the empty string otherwise, and then invoke the
   <span>value sanitization algorithm</span> defined for the <code
   title="attr-input-type">type</code> attribute's current state.</p>
 
@@ -26159,9 +26162,8 @@
   title="dom-input-src"><code>src</code></dfn>, <dfn
   title="dom-input-step"><code>step</code></dfn>, and <dfn
   title="dom-input-type"><code>type</code></dfn> DOM attributes must
-  <span>reflect</span> the content attributes with the same names.</p>
-
-  <p>The <dfn title="dom-input-maxLength"><code>maxLength</code></dfn>
+  <span>reflect</span> the content attributes with the same names.
+  The <dfn title="dom-input-maxLength"><code>maxLength</code></dfn>
   DOM attribute must <span>reflect</span> the <code
   title="attr-input-maxlength">maxlength</code> content attribute. The
   <dfn title="dom-input-readOnly"><code>readOnly</code></dfn> DOM




More information about the Commit-Watchers mailing list