Short URL: http://html5.org/r/2211
Index: source
===================================================================
--- source (revision 2210)
+++ source (revision 2211)
@@ -24478,7 +24478,6 @@
<code>input</code> element depends on the state of its <code
title="attr-input-type">type</code> attribute. Similarly, the <code
title="dom-input-checked">checked</code>, <code
- title="dom-input-value">value</code>, <code
title="dom-input-valueAsDate">valueAsDate</code>, <code
title="dom-input-valueAsNumber">valueAsNumber</code>, <code
title="dom-input-list">list</code>, and <code
@@ -24978,28 +24977,6 @@
<td class="no"> · <!-- Button -->
<tr>
- <th> <code title="dom-input-value">value</code>
- <td class="yes"> Yes <!-- Text, Password -->
- <td class="no"> · <!-- E-mail -->
- <td class="no"> · <!-- URL -->
- <td class="no"> · <!-- Date and Time -->
- <td class="no"> · <!-- Local Date and Time -->
- <td class="no"> · <!-- Date -->
- <td class="no"> · <!-- Month -->
- <td class="no"> · <!-- Week -->
- <td class="no"> · <!-- Time -->
- <td class="no"> · <!-- Number -->
- <td class="no"> · <!-- Range -->
- <td class="no"> · <!-- Checkbox -->
- <td class="no"> · <!-- Radio Button -->
- <td class="no"> · <!-- File -->
- <td class="no"> · <!-- Hidden -->
- <td class="no"> · <!-- Submit Button -->
- <td class="no"> · <!-- Image Button -->
- <td class="no"> · <!-- Reset Button -->
- <td class="no"> · <!-- Button -->
-
- <tr>
<th> <code title="dom-input-valueAsDate">valueAsDate</code>
<td class="no"> · <!-- Text, Password -->
<td class="no"> · <!-- E-mail -->
@@ -25142,7 +25119,8 @@
invoked.</p>
<p>Each <code>input</code> element has a <span
- title="concept-fe-value">value</span>.</p>
+ title="concept-fe-value">value</span>, which is exposed by the <code
+ title="dom-input-value">value</code> DOM attribute.</p>
<p>Each <code>input</code> element has a boolean <dfn
title="concept-input-mutability">mutability flag</dfn>. When it is
@@ -25162,12 +25140,18 @@
an <code>input</code> element <i
title="concept-input-immutable">immutable</i>.</p>
- <p>Each <code>input</code> element has a boolean <dfn>dirty
- flag</dfn>, which must be initially set to false when the element is
- created, and which must be set to true whenever the user interacts
- with the control in a way that changes the <span
- title="concept-fe-value">value</span>.</p>
+ <p>Each <code>input</code> element has a boolean <dfn
+ title="concept-input-dirty-flag">dirty flag</dfn>. When it is true,
+ the element is said to be <dfn
+ title="concept-input-dirty"><i>dirty</i></dfn>.</p>
+ <p>The <span title="concept-input-dirty-flag">dirty flag</span> must
+ be initially set to false (not <i
+ title="concept-input-dirty">dirty</i>) when the element is created,
+ and must be set to true (<i title="concept-input-dirty">dirty</i>)
+ whenever the user interacts with the control in a way that changes
+ the <span title="concept-fe-value">value</span>.</p>
+
<p>The <dfn title="attr-input-value"><code>value</code></dfn>
content attribute gives the default <span
title="concept-fe-value">value</span> of the <code>input</code>
@@ -25179,8 +25163,9 @@
attribute's current state must be invoked.</p>
<p>The <span title="concept-form-reset-control">reset
- algorithm</span> for <code>input</code> elements is to set the
- <span>dirty flag</span> back to false, and then invoke the
+ 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
<span>default value change algorithm</span> defined for the <code
title="attr-input-type">type</code> attribute's current state.</p>
@@ -25255,8 +25240,8 @@
<p><strong>The <span title="attr-input-type-text">Text</span>
state's <span>default value change algorithm</span> is as
- follows:</strong> If the <code>input</code> element is not <span
- title="dirty flag">dirty</span> then set the <span
+ follows:</strong> If the <code>input</code> element is not <i
+ title="concept-input-dirty">dirty</i> then 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
and <span>strip line breaks from the value</span>.</p>