Skip to content

Commit

Permalink
[] (0) WF2: Oops, broke the reset algorithm for <input> elements.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2234 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 25, 2008
1 parent 52fbd4c commit 1779340
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
13 changes: 8 additions & 5 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -29623,9 +29623,13 @@ function AddCloud(data, x, y) { ... }</pre>
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
Expand All @@ -29649,8 +29653,7 @@ function AddCloud(data, x, y) { ... }</pre>
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
Expand Down
10 changes: 6 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -26136,7 +26136,10 @@ function AddCloud(data, x, y) { ... }</pre>
<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>

Expand All @@ -26159,9 +26162,8 @@ function AddCloud(data, x, y) { ... }</pre>
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
Expand Down

0 comments on commit 1779340

Please sign in to comment.