Index: /CKEditor/branches/versions/3.5.x/CHANGES.html
===================================================================
--- /CKEditor/branches/versions/3.5.x/CHANGES.html	(revision 6435)
+++ /CKEditor/branches/versions/3.5.x/CHANGES.html	(revision 6436)
@@ -35,4 +35,16 @@
 		CKEditor Changelog
 	</h1>
+	<h3>
+			CKEditor 3.5.2 (SVN)</h3>
+	<p>
+			New features:</p>
+	<ul>
+		<li></li>
+	</ul>
+	<p>
+			Fixed issues:</p>
+	<ul>
+		<li><a href="http://dev.ckeditor.com/ticket/7168">#7168</a> : Editor destroying logic flaws.</li>
+	</ul>
 	<h3>
 			CKEditor 3.5.1</h3>
Index: /CKEditor/branches/versions/3.5.x/_source/core/editor.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/core/editor.js	(revision 6435)
+++ /CKEditor/branches/versions/3.5.x/_source/core/editor.js	(revision 6436)
@@ -548,7 +548,7 @@
 				this.updateElement();
 
+			this.fire( 'destroy' );
 			this.theme && this.theme.destroy( this );
 
-			this.fire( 'destroy' );
 			CKEDITOR.remove( this );
 			CKEDITOR.fire( 'instanceDestroyed', null, this );
@@ -685,4 +685,5 @@
 		 * @param {Function} callback Function to be called after the setData
 		 *		is completed.
+		 *@param {Boolean} internal Whether suppress  any event firing when copying data internally inside editor.
 		 * @example
 		 * CKEDITOR.instances.editor1.<b>setData</b>( '&lt;p&gt;This is the editor data.&lt;/p&gt;' );
@@ -693,5 +694,5 @@
 		 *     });
 		 */
-		setData : function( data , callback )
+		setData : function( data , callback, internal )
 		{
 			if( callback )
@@ -706,9 +707,9 @@
 			// Fire "setData" so data manipulation may happen.
 			var eventData = { dataValue : data };
-			this.fire( 'setData', eventData );
+			!internal && this.fire( 'setData', eventData );
 
 			this._.data = eventData.dataValue;
 
-			this.fire( 'afterSetData', eventData );
+			!internal && this.fire( 'afterSetData', eventData );
 		},
 
Index: /CKEditor/branches/versions/3.5.x/_source/plugins/editingblock/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/plugins/editingblock/plugin.js	(revision 6435)
+++ /CKEditor/branches/versions/3.5.x/_source/plugins/editingblock/plugin.js	(revision 6436)
@@ -72,5 +72,5 @@
 					{
 						isHandlingData = true;
-						editor.setData( getMode( editor ).getData() );
+						editor.setData( getMode( editor ).getData(), null, 1 );
 						isHandlingData = false;
 					}
Index: /CKEditor/branches/versions/3.5.x/_source/skins/kama/menu.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/kama/menu.css	(revision 6435)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/kama/menu.css	(revision 6436)
@@ -98,11 +98,4 @@
 }
 
-/* IE9 insists on border box model on this element.*/
- .cke_browser_ie9 .cke_skin_kama .cke_menuitem .cke_icon_wrapper
-{
-	width:24px;
-	height:24px;
-}
-
 .cke_rtl .cke_skin_kama .cke_menuitem .cke_icon_wrapper
 {
@@ -138,11 +131,4 @@
 	background-color: #fff;
 }
-
-/* IE9 insists on border box model on this element.*/
-.cke_browser_ie9 .cke_skin_kama .cke_menuitem .cke_label
-{
-	height:24px;
-}
-
 /* Set these after the document has been loaded and we know the dimensions*/
 .cke_skin_kama .cke_frameLoaded .cke_menuitem .cke_label
Index: /CKEditor/branches/versions/3.5.x/_source/skins/office2003/menu.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/office2003/menu.css	(revision 6435)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/office2003/menu.css	(revision 6436)
@@ -98,11 +98,4 @@
 }
 
-/* IE9 insists on border box model on this element.*/
- .cke_browser_ie9 .cke_skin_office2003 .cke_menuitem .cke_icon_wrapper
-{
-	width:24px;
-	height:24px;
-}
-
 .cke_rtl .cke_skin_office2003 .cke_menuitem .cke_icon_wrapper
 {
@@ -138,11 +131,4 @@
 	background-color: #fff;
 }
-
-/* IE9 insists on border box model on this element.*/
-.cke_browser_ie9 .cke_skin_office2003 .cke_menuitem .cke_label
-{
-	height:24px;
-}
-
 /* Set these after the document has been loaded and we know the dimensions*/
 .cke_skin_office2003 .cke_frameLoaded .cke_menuitem .cke_label
Index: /CKEditor/branches/versions/3.5.x/_source/skins/v2/menu.css
===================================================================
--- /CKEditor/branches/versions/3.5.x/_source/skins/v2/menu.css	(revision 6435)
+++ /CKEditor/branches/versions/3.5.x/_source/skins/v2/menu.css	(revision 6436)
@@ -98,11 +98,4 @@
 }
 
-/* IE9 insists on border box model on this element.*/
- .cke_browser_ie9 .cke_skin_v2 .cke_menuitem .cke_icon_wrapper
-{
-	width:24px;
-	height:24px;
-}
-
 .cke_rtl .cke_skin_v2 .cke_menuitem .cke_icon_wrapper
 {
@@ -138,11 +131,4 @@
 	background-color: #fff;
 }
-
-/* IE9 insists on border box model on this element.*/
-.cke_browser_ie9 .cke_skin_v2 .cke_menuitem .cke_label
-{
-	height:24px;
-}
-
 /* Set these after the document has been loaded and we know the dimensions*/
 .cke_skin_v2 .cke_frameLoaded .cke_menuitem .cke_label
