W3C home > Mailing lists > Public > public-html-diffs@w3.org > July 2009

hixie: Make innerHTML on text nodes only look at the parent node, not ancestors, when deciding to serialise without escaping. (whatwg r3469)

From: poot <cvsmail@w3.org>
Date: Tue, 28 Jul 2009 06:42:09 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090727214209.C1CB82BBFA@toro.w3.mag.keio.ac.jp>
hixie: Make innerHTML on text nodes only look at the parent node, not
ancestors, when deciding to serialise without escaping. (whatwg r3469)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2672&r2=1.2673&f=h
http://html5.org/tools/web-apps-tracker?from=3468&to=3469

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2672
retrieving revision 1.2673
diff -u -d -r1.2672 -r1.2673
--- Overview.html	26 Jul 2009 09:25:47 -0000	1.2672
+++ Overview.html	27 Jul 2009 21:41:42 -0000	1.2673
@@ -175,7 +175,7 @@
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
    <!--ZZZ:-->
    <!--<h2 class="no-num no-toc">W3C Working Draft 23 April 2009</h2>-->
-   <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 26 July 2009</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 27 July 2009</h2>
    <!--:ZZZ-->
    <dl><!-- ZZZ: update the month/day (twice), (un)comment out
     <dt>This Version:</dt>
@@ -273,7 +273,7 @@
   track.
   <!--ZZZ:-->
   <!--This specification is the 23 April 2009 Working Draft.-->
-  This specification is the 26 July 2009 Editor's Draft.
+  This specification is the 27 July 2009 Editor's Draft.
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -59423,16 +59423,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
Received on Monday, 27 July 2009 21:42:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:07 GMT