html5/spec Overview.html,1.1295,1.1296

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 UTC