[html5] r2931 - [] (0) Remove mention of renameNode() since it is going to be dropped from Web D [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Mar 30 20:46:27 PDT 2009
Author: ianh
Date: 2009-03-30 20:46:26 -0700 (Mon, 30 Mar 2009)
New Revision: 2931
Modified:
index
source
Log:
[] (0) Remove mention of renameNode() since it is going to be dropped from Web DOM Core. (credit: hs) (bug 6690)
Modified: index
===================================================================
--- index 2009-03-31 03:38:46 UTC (rev 2930)
+++ index 2009-03-31 03:46:26 UTC (rev 2931)
@@ -8782,19 +8782,6 @@
time.</p>
</dd>
-
-
- <dt><code title="">Document.renameNode()</code></dt>
-
- <dd>
-
- <p>HTML element names are <a href=#converted-to-lowercase>converted to lowercase</a> when
- the elements are created. <span class=impl>Thus, if the new
- namespace passed to the <code title="">Document.renameNode()</code> method is the <a href=#html-namespace-0>HTML
- namespace</a>, the new qualified name must be <a href=#converted-to-lowercase>converted
- to lowercase</a> before the rename takes place.</span></p>
-
- </dd>
</dl><h3 id=dynamic-markup-insertion><span class=secno>3.7 </span><dfn>Dynamic markup insertion</dfn></h3>
@@ -49642,8 +49629,9 @@
contain <span>prose content</span> other than <a href=#phrasing-content-0>phrasing
content</a>, and has a parent element whose content model
allows that parent to contain any <span>prose content</span>,
- rename the element (as if the <code title="">Element.renameNode()</code> method had been used) to
- <var title="">value</var>, using the HTML namespace.</p>
+ replace the element with one in the HTML namespace whose name is
+ <var title="">value</var>, and move all the children that were
+ in the element to the new element.</p>
<p>If there is no selection, then, where in the description
above refers to the selection, the user agent must act as if the
selection was an empty range (with just one position) at the
@@ -57569,7 +57557,7 @@
<p>Append a U+003C LESS-THAN SIGN (<code title=""><</code>)
character, followed by the element's tag name. (For nodes
- created by the <a href=#html-parser>HTML parser</a>, <code title="">Document.createElement()</code>, or <code title="">Document.renameNode()</code>, the tag name will be
+ created by the <a href=#html-parser>HTML parser</a> or <code title="">Document.createElement()</code>, the tag name will be
lowercase.)</p>
<p>For each attribute that the element has, append a U+0020
Modified: source
===================================================================
--- source 2009-03-31 03:38:46 UTC (rev 2930)
+++ source 2009-03-31 03:46:26 UTC (rev 2931)
@@ -9128,20 +9128,6 @@
time.</p>
</dd>
-
-
- <dt><code title="">Document.renameNode()</code></dt>
-
- <dd>
-
- <p>HTML element names are <span>converted to lowercase</span> when
- the elements are created. <span class="impl">Thus, if the new
- namespace passed to the <code
- title="">Document.renameNode()</code> method is the <span>HTML
- namespace</span>, the new qualified name must be <span>converted
- to lowercase</span> before the rename takes place.</span></p>
-
- </dd>
</dl>
@@ -57913,9 +57899,9 @@
contain <span>prose content</span> other than <span>phrasing
content</span>, and has a parent element whose content model
allows that parent to contain any <span>prose content</span>,
- rename the element (as if the <code
- title="">Element.renameNode()</code> method had been used) to
- <var title="">value</var>, using the HTML namespace.</p>
+ replace the element with one in the HTML namespace whose name is
+ <var title="">value</var>, and move all the children that were
+ in the element to the new element.</p>
<p>If there is no selection, then, where in the description
above refers to the selection, the user agent must act as if the
selection was an empty range (with just one position) at the
@@ -70106,9 +70092,8 @@
<p>Append a U+003C LESS-THAN SIGN (<code title=""><</code>)
character, followed by the element's tag name. (For nodes
- created by the <span>HTML parser</span>, <code
- title="">Document.createElement()</code>, or <code
- title="">Document.renameNode()</code>, the tag name will be
+ created by the <span>HTML parser</span> or <code
+ title="">Document.createElement()</code>, the tag name will be
lowercase.)</p>
<p>For each attribute that the element has, append a U+0020
More information about the Commit-Watchers
mailing list