Index: _source/plugins/selection/plugin.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- _source/plugins/selection/plugin.js	(revision 7420)
+++ _source/plugins/selection/plugin.js	(revision )
@@ -681,10 +681,18 @@
 		 */
 		if ( CKEDITOR.env.ie )
 		{
+			// Avoid breaking because of it. (#8836)
+			try
+			{
-			var range = this.getNative().createRange();
+				var range = this.getNative().createRange();
-			if ( !range
-				|| ( range.item && range.item(0).ownerDocument != this.document.$ )
-				|| ( range.parentElement && range.parentElement().ownerDocument != this.document.$ ) )
+				if ( !range ||
+					 ( range.item && range.item( 0 ).ownerDocument != this.document.$ ) ||
+					 ( range.parentElement && range.parentElement().ownerDocument != this.document.$ ) )
+				{
+					throw 0;
+				}
+			}
+			catch ( e )
 			{
 				this.isInvalid = true;
 			}
