[html5] r3469 - [git] (2) Make innerHTML on text nodes only look at the parent node, not ancesto [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Jul 27 14:41:38 PDT 2009
Author: ianh
Date: 2009-07-27 14:41:36 -0700 (Mon, 27 Jul 2009)
New Revision: 3469
Modified:
index
source
Log:
[git] (2) Make innerHTML on text nodes only look at the parent node, not ancestors, when deciding to serialise without escaping.
Modified: index
===================================================================
--- index 2009-07-27 03:29:56 UTC (rev 3468)
+++ index 2009-07-27 21:41:36 UTC (rev 3469)
@@ -65574,16 +65574,16 @@
<dd>
- <p>If one of the ancestors of <var title="">current node</var>
- is a <code><a href=#the-style-element>style</a></code>, <code><a href=#script>script</a></code>,
- <code>xmp</code>, <code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#noembed>noembed</a></code>,
+ <p>If the parent of <var title="">current node</var> is a
+ <code><a href=#the-style-element>style</a></code>, <code><a href=#script>script</a></code>, <code>xmp</code>,
+ <code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#noembed>noembed</a></code>,
<code><a href=#noframes>noframes</a></code>, <code><a href=#the-noscript-element>noscript</a></code>, or
<code>plaintext</code> element, then append the value of <var title="">current node</var>'s <code title="">data</code> DOM
attribute literally.</p> <!-- note about noscript: we're
assuming here that scripting is enabled. If this algorithm is
- used with scripting disabled, this won't work right. XXX This
- might affect calling innerHTML on nodes in a document that is
- being designMode'd -->
+ used with scripting disabled, this won't work
+ right. (e.g. This might affect calling innerHTML on nodes in a
+ document that is being designMode'd) -->
<p>Otherwise, append the value of <var title="">current
node</var>'s <code title="">data</code> DOM attribute, <a href=#escapingString title="escaping a string">escaped as described
Modified: source
===================================================================
--- source 2009-07-27 03:29:56 UTC (rev 3468)
+++ source 2009-07-27 21:41:36 UTC (rev 3469)
@@ -80034,17 +80034,17 @@
<dd>
- <p>If one of the ancestors of <var title="">current node</var>
- is a <code>style</code>, <code>script</code>,
- <code>xmp</code>, <code>iframe</code>, <code>noembed</code>,
+ <p>If the parent of <var title="">current node</var> is a
+ <code>style</code>, <code>script</code>, <code>xmp</code>,
+ <code>iframe</code>, <code>noembed</code>,
<code>noframes</code>, <code>noscript</code>, or
<code>plaintext</code> element, then append the value of <var
title="">current node</var>'s <code title="">data</code> DOM
attribute literally.</p> <!-- note about noscript: we're
assuming here that scripting is enabled. If this algorithm is
- used with scripting disabled, this won't work right. XXX This
- might affect calling innerHTML on nodes in a document that is
- being designMode'd -->
+ used with scripting disabled, this won't work
+ right. (e.g. This might affect calling innerHTML on nodes in a
+ document that is being designMode'd) -->
<p>Otherwise, append the value of <var title="">current
node</var>'s <code title="">data</code> DOM attribute, <span
More information about the Commit-Watchers
mailing list