[html5] r6423 - [e] (0) DOM Core convergence (cloning) Fixing http://www.w3.org/Bugs/Public/show [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Aug 11 14:53:32 PDT 2011


Author: ianh
Date: 2011-08-11 14:53:30 -0700 (Thu, 11 Aug 2011)
New Revision: 6423

Modified:
   complete.html
   index
   source
Log:
[e] (0) DOM Core convergence (cloning)
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=13612

Modified: complete.html
===================================================================
--- complete.html	2011-08-11 21:44:10 UTC (rev 6422)
+++ complete.html	2011-08-11 21:53:30 UTC (rev 6423)
@@ -3242,14 +3242,7 @@
   value, text node, or string, means that the length of the text is
   zero (i.e. not even containing spaces or control characters).</p>
 
-  <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></p>
 
-
   <h4 id=scripting-0><span class=secno>2.1.4 </span>Scripting</h4>
 
   <p>The construction "a <code>Foo</code> object", where
@@ -3778,6 +3771,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>
@@ -15520,9 +15514,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>
@@ -43810,9 +43804,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
@@ -60753,7 +60748,7 @@
 
    <li>
 
-    <p><a href=#concept-clone title=concept-clone>Clone</a> the nodes in <var title="">heading content</var> and their descendants into an
+    <p><a href=#concept-node-clone title=concept-node-clone>Clone</a> the nodes in <var title="">heading content</var> and their descendants into an
     environment that has <a href=#concept-bc-noscript title=concept-bc-noscript>scripting
     disabled</a>, has no <a href=#plugin title=plugin>plugins</a>, and
     fails any attempt to <a href=#fetch title=fetch>fetch</a> any
@@ -60792,13 +60787,13 @@
 
     <ol><li>
 
-      <p><a href=#concept-clone title=concept-clone>Clone</a> the nodes in <var title="">subheading content</var> and their descendants into an
-      environment that has <a href=#concept-bc-noscript title=concept-bc-noscript>scripting
-      disabled</a>, has no <a href=#plugin title=plugin>plugins</a>, and
-      fails any attempt to <a href=#fetch title=fetch>fetch</a> any
-      resources. Let <var title="">cloned subheading content</var> be
-      a new <code><a href=#documentfragment>DocumentFragment</a></code> containing the resulting
-      cloned nodes, preserving their relative order.</p>
+      <p><a href=#concept-node-clone title=concept-node-clone>Clone</a> the nodes in
+      <var title="">subheading content</var> and their descendants
+      into an environment that has <a href=#concept-bc-noscript title=concept-bc-noscript>scripting disabled</a>, has no
+      <a href=#plugin title=plugin>plugins</a>, and fails any attempt to
+      <a href=#fetch title=fetch>fetch</a> any resources. Let <var title="">cloned subheading content</var> be a new
+      <code><a href=#documentfragment>DocumentFragment</a></code> containing the resulting cloned
+      nodes, preserving their relative order.</p>
 
      </li>
 
@@ -60905,13 +60900,13 @@
 
      <li>
 
-      <p><a href=#concept-clone title=concept-clone>Clone</a> the nodes in <var title="">heading content</var> and their descendants into an
-      environment that has <a href=#concept-bc-noscript title=concept-bc-noscript>scripting
-      disabled</a>, has no <a href=#plugin title=plugin>plugins</a>, and
-      fails any attempt to <a href=#fetch title=fetch>fetch</a> any
-      resources. Let <var title="">cloned heading content</var> be a
-      new <code><a href=#documentfragment>DocumentFragment</a></code> containing the resulting
-      cloned nodes, preserving their relative order.</p>
+      <p><a href=#concept-node-clone title=concept-node-clone>Clone</a> the nodes in
+      <var title="">heading content</var> and their descendants into
+      an environment that has <a href=#concept-bc-noscript title=concept-bc-noscript>scripting disabled</a>, has no
+      <a href=#plugin title=plugin>plugins</a>, and fails any attempt to
+      <a href=#fetch title=fetch>fetch</a> any resources. Let <var title="">cloned heading content</var> be a new
+      <code><a href=#documentfragment>DocumentFragment</a></code> containing the resulting cloned
+      nodes, preserving their relative order.</p>
 
      </li>
 
@@ -60941,7 +60936,7 @@
 
      <li>
 
-      <p><a href=#concept-clone title=concept-clone>Clone</a> <var title="">article</var> and its descendants into an environment
+      <p><a href=#concept-node-clone title=concept-node-clone>Clone</a> <var title="">article</var> and its descendants into an environment
       that has <a href=#concept-bc-noscript title=concept-bc-noscript>scripting
       disabled</a>, has no <a href=#plugin title=plugin>plugins</a>, and
       fails any attempt to <a href=#fetch title=fetch>fetch</a> any

Modified: index
===================================================================
--- index	2011-08-11 21:44:10 UTC (rev 6422)
+++ index	2011-08-11 21:53:30 UTC (rev 6423)
@@ -3139,14 +3139,7 @@
   value, text node, or string, means that the length of the text is
   zero (i.e. not even containing spaces or control characters).</p>
 
-  <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></p>
 
-
   <h4 id=scripting-0><span class=secno>2.1.4 </span>Scripting</h4>
 
   <p>The construction "a <code>Foo</code> object", where
@@ -3675,6 +3668,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>
@@ -15384,9 +15378,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>
@@ -43677,9 +43671,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
@@ -60620,7 +60615,7 @@
 
    <li>
 
-    <p><a href=#concept-clone title=concept-clone>Clone</a> the nodes in <var title="">heading content</var> and their descendants into an
+    <p><a href=#concept-node-clone title=concept-node-clone>Clone</a> the nodes in <var title="">heading content</var> and their descendants into an
     environment that has <a href=#concept-bc-noscript title=concept-bc-noscript>scripting
     disabled</a>, has no <a href=#plugin title=plugin>plugins</a>, and
     fails any attempt to <a href=#fetch title=fetch>fetch</a> any
@@ -60659,13 +60654,13 @@
 
     <ol><li>
 
-      <p><a href=#concept-clone title=concept-clone>Clone</a> the nodes in <var title="">subheading content</var> and their descendants into an
-      environment that has <a href=#concept-bc-noscript title=concept-bc-noscript>scripting
-      disabled</a>, has no <a href=#plugin title=plugin>plugins</a>, and
-      fails any attempt to <a href=#fetch title=fetch>fetch</a> any
-      resources. Let <var title="">cloned subheading content</var> be
-      a new <code><a href=#documentfragment>DocumentFragment</a></code> containing the resulting
-      cloned nodes, preserving their relative order.</p>
+      <p><a href=#concept-node-clone title=concept-node-clone>Clone</a> the nodes in
+      <var title="">subheading content</var> and their descendants
+      into an environment that has <a href=#concept-bc-noscript title=concept-bc-noscript>scripting disabled</a>, has no
+      <a href=#plugin title=plugin>plugins</a>, and fails any attempt to
+      <a href=#fetch title=fetch>fetch</a> any resources. Let <var title="">cloned subheading content</var> be a new
+      <code><a href=#documentfragment>DocumentFragment</a></code> containing the resulting cloned
+      nodes, preserving their relative order.</p>
 
      </li>
 
@@ -60772,13 +60767,13 @@
 
      <li>
 
-      <p><a href=#concept-clone title=concept-clone>Clone</a> the nodes in <var title="">heading content</var> and their descendants into an
-      environment that has <a href=#concept-bc-noscript title=concept-bc-noscript>scripting
-      disabled</a>, has no <a href=#plugin title=plugin>plugins</a>, and
-      fails any attempt to <a href=#fetch title=fetch>fetch</a> any
-      resources. Let <var title="">cloned heading content</var> be a
-      new <code><a href=#documentfragment>DocumentFragment</a></code> containing the resulting
-      cloned nodes, preserving their relative order.</p>
+      <p><a href=#concept-node-clone title=concept-node-clone>Clone</a> the nodes in
+      <var title="">heading content</var> and their descendants into
+      an environment that has <a href=#concept-bc-noscript title=concept-bc-noscript>scripting disabled</a>, has no
+      <a href=#plugin title=plugin>plugins</a>, and fails any attempt to
+      <a href=#fetch title=fetch>fetch</a> any resources. Let <var title="">cloned heading content</var> be a new
+      <code><a href=#documentfragment>DocumentFragment</a></code> containing the resulting cloned
+      nodes, preserving their relative order.</p>
 
      </li>
 
@@ -60808,7 +60803,7 @@
 
      <li>
 
-      <p><a href=#concept-clone title=concept-clone>Clone</a> <var title="">article</var> and its descendants into an environment
+      <p><a href=#concept-node-clone title=concept-node-clone>Clone</a> <var title="">article</var> and its descendants into an environment
       that has <a href=#concept-bc-noscript title=concept-bc-noscript>scripting
       disabled</a>, has no <a href=#plugin title=plugin>plugins</a>, and
       fails any attempt to <a href=#fetch title=fetch>fetch</a> any

Modified: source
===================================================================
--- source	2011-08-11 21:44:10 UTC (rev 6422)
+++ source	2011-08-11 21:53:30 UTC (rev 6423)
@@ -2092,17 +2092,7 @@
   value, text node, or string, means that the length of the text is
   zero (i.e. not even containing spaces or control characters).</p>
 
-  <p>Nodes can be <dfn 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>Node</code> interface both clone nodes, as do a number of
-  algorithms in this specification. Certain <span>HTML elements</span>
-  (in particular, <code>input</code> and <code>script</code>) apply
-  additional requirements on how they are cloned. <a
-  href="#refsDOMCORE">[DOMCORE]</a></p>
 
-
   <h4>Scripting</h4>
 
   <p>The construction "a <code>Foo</code> object", where
@@ -2683,6 +2673,7 @@
      <li>The <dfn title="document's character encoding">character encoding</dfn> of a <code>Document</code></li>
      <li>The distinction between <dfn>XML documents</dfn> and <dfn>HTML documents</dfn></li>
      <li>The terms <dfn>quirks mode</dfn>, <dfn>limited-quirks mode</dfn>, and <dfn>no-quirks mode</dfn></li>
+     <li>The algorithm to <dfn title="concept-node-clone">clone</dfn> a <code>Node</code>, and the concept of <dfn title="concept-node-clone-ext">cloning steps</dfn> used by tat algorithm</li>
 
     </ul>
 
@@ -16468,10 +16459,10 @@
   <p>The first is a flag indicating whether or not the script block
   has been <dfn>"already started"</dfn>. Initially,
   <code>script</code> elements must have this flag unset (script
-  blocks, when created, are not "already started"). When a
-  <code>script</code> element is <span
-  title="concept-clone">cloned</span>, 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 <span
+  title="concept-node-clone-ext">cloning steps</span> for
+  <code>script</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>"parser-inserted"</dfn>. Initially, <code>script</code>
@@ -48844,13 +48835,13 @@
   <code>input</code> element <i
   title="concept-input-immutable">immutable</i>.</p>
 
-  <p>When an <code>input</code> element is <span
-  title="concept-clone">cloned</span>, the element's <span
+  <p>The <span title="concept-node-clone-ext">cloning steps</span> for
+  <code>input</code> elements must propagate the <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>
+  flag</span> from the node being cloned to the copy.</p>
 
   <hr>
 
@@ -68961,7 +68952,7 @@
 
    <li>
 
-    <p><span title="concept-clone">Clone</span> the nodes in <var
+    <p><span title="concept-node-clone">Clone</span> the nodes in <var
     title="">heading content</var> and their descendants into an
     environment that has <span title="concept-bc-noscript">scripting
     disabled</span>, has no <span title="plugin">plugins</span>, and
@@ -69008,14 +68999,15 @@
 
      <li>
 
-      <p><span title="concept-clone">Clone</span> the nodes in <var
-      title="">subheading content</var> and their descendants into an
-      environment that has <span title="concept-bc-noscript">scripting
-      disabled</span>, has no <span title="plugin">plugins</span>, and
-      fails any attempt to <span title="fetch">fetch</span> any
-      resources. Let <var title="">cloned subheading content</var> be
-      a new <code>DocumentFragment</code> containing the resulting
-      cloned nodes, preserving their relative order.</p>
+      <p><span title="concept-node-clone">Clone</span> the nodes in
+      <var title="">subheading content</var> and their descendants
+      into an environment that has <span
+      title="concept-bc-noscript">scripting disabled</span>, has no
+      <span title="plugin">plugins</span>, and fails any attempt to
+      <span title="fetch">fetch</span> any resources. Let <var
+      title="">cloned subheading content</var> be a new
+      <code>DocumentFragment</code> containing the resulting cloned
+      nodes, preserving their relative order.</p>
 
      </li>
 
@@ -69145,14 +69137,15 @@
 
      <li>
 
-      <p><span title="concept-clone">Clone</span> the nodes in <var
-      title="">heading content</var> and their descendants into an
-      environment that has <span title="concept-bc-noscript">scripting
-      disabled</span>, has no <span title="plugin">plugins</span>, and
-      fails any attempt to <span title="fetch">fetch</span> any
-      resources. Let <var title="">cloned heading content</var> be a
-      new <code>DocumentFragment</code> containing the resulting
-      cloned nodes, preserving their relative order.</p>
+      <p><span title="concept-node-clone">Clone</span> the nodes in
+      <var title="">heading content</var> and their descendants into
+      an environment that has <span
+      title="concept-bc-noscript">scripting disabled</span>, has no
+      <span title="plugin">plugins</span>, and fails any attempt to
+      <span title="fetch">fetch</span> any resources. Let <var
+      title="">cloned heading content</var> be a new
+      <code>DocumentFragment</code> containing the resulting cloned
+      nodes, preserving their relative order.</p>
 
      </li>
 
@@ -69188,7 +69181,7 @@
 
      <li>
 
-      <p><span title="concept-clone">Clone</span> <var
+      <p><span title="concept-node-clone">Clone</span> <var
       title="">article</var> and its descendants into an environment
       that has <span title="concept-bc-noscript">scripting
       disabled</span>, has no <span title="plugin">plugins</span>, and




More information about the Commit-Watchers mailing list