W3C home > Mailing lists > Public > public-html-commits@w3.org > August 2008

html5/spec Overview.html,1.1295,1.1296

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 29 Aug 2008 09:24:22 +0000
To: public-html-commits@w3.org
Message-Id: <E1KZ0DO-0008OQ-JA@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv32243

Modified Files:
	Overview.html 
Log Message:
Define when to coalesce text nodes in a less DOM-prone way. (credit: pt) (whatwg r2124)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1295
retrieving revision 1.1296
diff -u -d -r1.1295 -r1.1296
--- Overview.html	29 Aug 2008 09:15:02 -0000	1.1295
+++ Overview.html	29 Aug 2008 09:24:19 -0000	1.1296
@@ -49180,9 +49180,11 @@
   <p>When the steps below require the UA to <dfn id=insert>insert a
    character</dfn> into a node, if that node has a child immediately before
    where the character is to be inserted, and that child is a
-   <code>Text</code> node, then the character must be appended to that
-   <code>Text</code> node; otherwise, a new <code>Text</code> node whose data
-   is just that character must be inserted in the appropriate place.
+   <code>Text</code> node, and that <code>Text</code> node was the last node
+   that the parser inserted into the document, then the character must be
+   appended to that <code>Text</code> node; otherwise, a new
+   <code>Text</code> node whose data is just that character must be inserted
+   in the appropriate place.
 
   <p id=mutation-during-parsing>DOM mutation events must not fire for changes
    caused by the UA parsing the document. (Conceptually, the parser is not
Received on Friday, 29 August 2008 09:24:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:59 GMT