- From: poot <cvsmail@w3.org>
- Date: Tue, 15 Sep 2009 14:27:50 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Cloning an <input> element saves state. (whatwg r3854) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3020&r2=1.3021&f=h http://html5.org/tools/web-apps-tracker?from=3853&to=3854 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3020 retrieving revision 1.3021 diff -u -d -r1.3020 -r1.3021 --- Overview.html 15 Sep 2009 04:00:33 -0000 1.3020 +++ Overview.html 15 Sep 2009 05:27:24 -0000 1.3021 @@ -28596,9 +28596,7 @@ <a href="#value-sanitization-algorithm">value sanitization algorithm</a>, if the <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute's current state defines one.</p> - <p>Each <code><a href="#the-input-element">input</a></code> element has a boolean <dfn id="concept-input-mutability" title="concept-input-mutability">mutability flag</dfn>. When it is - true, the element is said to be <dfn id="concept-input-mutable" title="concept-input-mutable"><i>mutable</i></dfn>, and when it is - false the element is <dfn id="concept-input-immutable" title="concept-input-immutable"><i>immutable</i></dfn>. Unless + <p>Each <code><a href="#the-input-element">input</a></code> element is either <dfn id="concept-input-mutable" title="concept-input-mutable"><i>mutable</i></dfn> or <dfn id="concept-input-immutable" title="concept-input-immutable"><i>immutable</i></dfn>. Unless otherwise specified, an <code><a href="#the-input-element">input</a></code> element is always <i title="concept-input-mutable"><a href="#concept-input-mutable">mutable</a></i>. Unless otherwise specified, the user agent should not allow the user to modify the element's <a href="#concept-fe-value" title="concept-fe-value">value</a> or <a href="#concept-fe-checked" title="concept-fe-checked">checkedness</a>.</p> @@ -28614,6 +28612,10 @@ some cases (e.g. for the <a href="#date-state" title="attr-input-type-date">Date</a> state, but not the <a href="#checkbox-state" title="attr-input-type-checkbox">Checkbox</a> state) make an <code><a href="#the-input-element">input</a></code> element <i title="concept-input-immutable"><a href="#concept-input-immutable">immutable</a></i>.</p> + <p>When an <code><a href="#the-input-element">input</a></code> element is cloned, the element's <a href="#concept-fe-value" title="concept-fe-value">value</a>, <a href="#concept-input-value-dirty-flag" title="concept-input-value-dirty-flag">dirty value flag</a>, + <a href="#concept-fe-checked" title="concept-fe-checked">checkedness</a>, and <a href="#concept-input-checked-dirty-flag" title="concept-input-checked-dirty-flag">dirty checkedness + flag</a> must be propagated to the clone when it is created.</p> + </div><p>The <code title="attr-fae-form"><a href="#attr-fae-form">form</a></code> attribute is used to explicitly associate the <code><a href="#the-input-element">input</a></code> element with its <a href="#form-owner">form owner</a>. The <code title="attr-fe-name"><a href="#attr-fe-name">name</a></code>
Received on Tuesday, 15 September 2009 05:28:28 UTC