HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/3854

SVNBugCommentTime (UTC)
3854[Gecko] [Internet Explorer] [Opera] [Webkit] Cloning an <input> element saves state.2009-09-15 05:32
Index: source
===================================================================
--- source	(revision 3853)
+++ source	(revision 3854)
@@ -35520,11 +35520,8 @@
   title="attr-input-type">type</code> attribute's current state
   defines one.</p>
 
-  <p>Each <code>input</code> element has a boolean <dfn
-  title="concept-input-mutability">mutability flag</dfn>. When it is
-  true, the element is said to be <dfn
-  title="concept-input-mutable"><i>mutable</i></dfn>, and when it is
-  false the element is <dfn
+  <p>Each <code>input</code> element is either <dfn
+  title="concept-input-mutable"><i>mutable</i></dfn> or <dfn
   title="concept-input-immutable"><i>immutable</i></dfn>. Unless
   otherwise specified, an <code>input</code> element is always <i
   title="concept-input-mutable">mutable</i>. Unless otherwise
@@ -35550,6 +35547,13 @@
   <code>input</code> element <i
   title="concept-input-immutable">immutable</i>.</p>
 
+  <p>When an <code>input</code> element is cloned, the element's <span
+  title="concept-fe-value">value</span>, <span
+  title="concept-input-value-dirty-flag">dirty value flag</span>,
+  <span title="concept-fe-checked">checkedness</span>, and <span
+  title="concept-input-checked-dirty-flag">dirty checkedness
+  flag</span> must be propagated to the clone when it is created.</p>
+
   </div>
 
   <p>The <code title="attr-fae-form">form</code> attribute is used to

|