Index: /CKEditor/trunk/_source/core/dom/text.js
===================================================================
--- /CKEditor/trunk/_source/core/dom/text.js	(revision 3536)
+++ /CKEditor/trunk/_source/core/dom/text.js	(revision 3537)
@@ -95,5 +95,5 @@
 			// IE BUG: IE8 does not update the childNodes array in DOM after splitText(),
 			// we need to make some DOM changes to make it update. (#3436)
-			if ( CKEDITOR.env.ie && CKEDITOR.env.version >= 8 )
+			if ( CKEDITOR.env.ie8 )
 			{
 				var workaround = new CKEDITOR.dom.text( '', doc );
Index: /CKEditor/trunk/_source/core/env.js
===================================================================
--- /CKEditor/trunk/_source/core/env.js	(revision 3536)
+++ /CKEditor/trunk/_source/core/env.js	(revision 3537)
@@ -97,4 +97,22 @@
 
 			/**
+			 *  Indicate IE8 browser.
+			 */
+			env.ie8 = !!document.documentMode;
+
+			/**
+			 * Indicte IE8 document mode.
+			 */
+			env.ie8Compat = document.documentMode == 8;
+
+			/**
+			 * Indicates that CKEditor is running on an IE7-like environment, which
+			 * includes IE7 itself and IE8's IE7 document mode.
+			 * @type Boolean
+			 */
+			env.ie7Compat = ( ( version == 7 && !document.documentMode )
+					|| document.documentMode == 7 );
+
+			/**
 			 * Indicates that CKEditor is running on an IE6-like environment, which
 			 * includes IE6 itself and IE7 and IE8 quirks mode.
@@ -106,8 +124,4 @@
 			env.ie6Compat = ( version < 7 || env.quirks );
 
-			/**
-			 *  Indicate IE8.
-			 */
-			env.ie8 = (version >= 8);
 		}
 
Index: /CKEditor/trunk/_source/tests/core/dom/text.html
===================================================================
--- /CKEditor/trunk/_source/tests/core/dom/text.html	(revision 3536)
+++ /CKEditor/trunk/_source/tests/core/dom/text.html	(revision 3537)
@@ -11,5 +11,6 @@
 	//<![CDATA[
 
-CKEDITOR.test.addTestCase( (function()
+var tc;
+CKEDITOR.test.addTestCase( tc = (function()
 {
 	// Local reference to the "assert" object.
@@ -17,4 +18,5 @@
 
 	return {
+
 		test_substring1 : function()
 		{
@@ -104,7 +106,18 @@
 		},
 
+		test_split_3436 : function()
+		{
+			var parent = CKEDITOR.document.getById( 'playground2' );
+			parent.setHtml( 'A B <b>C </b>D E' );
+			parent.getFirst().split( 2 );	// Right before "B"
+			parent.getChildren().getItem( 3 ).split( 2 );	// Right before "E"
+			assert.areSame( 5, parent.getChildren().count(), 'Child nodes num doesn\'t match after split' );
+		},
+
 		name : document.title
 	};
 })() );
+
+//window.onload = tc.test_split_3436;
 
 	//]]>
@@ -112,5 +125,6 @@
 </head>
 <body>
-	<div id="playground"></p>
+	<p id="playground"></p>
+	<p id="playground2"></p>
 </body>
 </html>
