- From: poot <cvsmail@w3.org>
- Date: Thu, 11 Aug 2011 17:53:58 -0400
- To: public-html-diffs@w3.org
hixie: DOM Core convergence (cloning) (whatwg r6423)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5127&r2=1.5128&f=h
http://html5.org/tools/web-apps-tracker?from=6422&to=6423
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5127
retrieving revision 1.5128
diff -u -d -r1.5127 -r1.5128
--- Overview.html 11 Aug 2011 21:44:24 -0000 1.5127
+++ Overview.html 11 Aug 2011 21:53:44 -0000 1.5128
@@ -2641,12 +2641,7 @@
only if its new value is different than its previous value; setting
an attribute to a value it already has does not change it.<p>The term <dfn title="">empty</dfn>, when used of an attribute
value, text node, or string, means that the length of the text is
- zero (i.e. not even containing spaces or control characters).<p>Nodes can be <dfn id="concept-clone" title="concept-clone">cloned</dfn>, as
- described in the DOM Core specification. For example, the <code title="dom-cloneNode">cloneNode()</code> and <code title="dom-importNode">importNode()</code> methods of the
- <code><a href="#node">Node</a></code> interface both clone nodes, as do a number of
- algorithms in this specification. Certain <a href="#html-elements">HTML elements</a>
- (in particular, <code><a href="#the-input-element">input</a></code> and <code><a href="#the-script-element">script</a></code>) apply
- additional requirements on how they are cloned. <a href="#refsDOMCORE">[DOMCORE]</a><h4 id="scripting-0"><span class="secno">2.1.4 </span>Scripting</h4><p>The construction "a <code>Foo</code> object", where
+ zero (i.e. not even containing spaces or control characters).<h4 id="scripting-0"><span class="secno">2.1.4 </span>Scripting</h4><p>The construction "a <code>Foo</code> object", where
<code>Foo</code> is actually an interface, is sometimes used instead
of the more accurate "an object implementing the interface
<code>Foo</code>".<p>An IDL attribute is said to be <dfn title="">getting</dfn> when
@@ -3110,6 +3105,7 @@
<li>The <dfn id="document-s-character-encoding" title="document's character encoding">character encoding</dfn> of a <code><a href="#document">Document</a></code></li>
<li>The distinction between <dfn id="xml-documents">XML documents</dfn> and <dfn id="html-documents">HTML documents</dfn></li>
<li>The terms <dfn id="quirks-mode">quirks mode</dfn>, <dfn id="limited-quirks-mode">limited-quirks mode</dfn>, and <dfn id="no-quirks-mode">no-quirks mode</dfn></li>
+ <li>The algorithm to <dfn id="concept-node-clone" title="concept-node-clone">clone</dfn> a <code><a href="#node">Node</a></code>, and the concept of <dfn id="concept-node-clone-ext" title="concept-node-clone-ext">cloning steps</dfn> used by tat algorithm</li>
</ul><p>The following <code><a href="#domexception">DOMException</a></code> codes are defined in
the DOM Core specification: <a href="#refsDOMCORE">[DOMCORE]</a></p>
@@ -12780,9 +12776,9 @@
<p>The first is a flag indicating whether or not the script block
has been <dfn id="already-started">"already started"</dfn>. Initially,
<code><a href="#the-script-element">script</a></code> elements must have this flag unset (script
- blocks, when created, are not "already started"). When a
- <code><a href="#the-script-element">script</a></code> element is <a href="#concept-clone" title="concept-clone">cloned</a>, the "already started" flag, if
- set, must be propagated to the clone when it is created.</p>
+ blocks, when created, are not "already started"). The <a href="#concept-node-clone-ext" title="concept-node-clone-ext">cloning steps</a> for
+ <code><a href="#the-script-element">script</a></code> elements must set the "already started" flag on
+ the copy if it is set on the element being cloned.</p>
<p>The second is a flag indicating whether the element was
<dfn id="parser-inserted">"parser-inserted"</dfn>. Initially, <code><a href="#the-script-element">script</a></code>
@@ -32620,9 +32616,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 <a href="#concept-clone" title="concept-clone">cloned</a>, 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>,
+ <p>The <a href="#concept-node-clone-ext" title="concept-node-clone-ext">cloning steps</a> for
+ <code><a href="#the-input-element">input</a></code> elements must propagate the <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>
+ flag</a> from the node being cloned to the copy.</p>
<hr><p>When an <code><a href="#the-input-element">input</a></code> element is first created, the
element's rendering and behavior must be set to the rendering and
Received on Thursday, 11 August 2011 21:54:01 UTC