HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/3469

SVNBugCommentTime (UTC)
3469[Gecko] [Internet Explorer] [Tools] Make innerHTML on text nodes only look at the parent node, not ancestors, when deciding to serialise without escaping.2009-07-27 21:41
Index: source
===================================================================
--- source	(revision 3468)
+++ source	(revision 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

|