Index: /CKEditor/trunk/_source/plugins/styles/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/styles/plugin.js	(revision 5290)
+++ /CKEditor/trunk/_source/plugins/styles/plugin.js	(revision 5291)
@@ -313,6 +313,6 @@
 
 		// Builds the StyleText.
-
-		var stylesText = ( styleDefinition.attributes && styleDefinition.attributes[ 'style' ] ) || '';
+		var stylesText = ( styleDefinition.attributes && styleDefinition.attributes[ 'style' ] ) || '',
+				specialStylesText = '';
 
 		if ( stylesText.length )
@@ -320,5 +320,14 @@
 
 		for ( var style in stylesDef )
-			stylesText += ( style + ':' + stylesDef[ style ] ).replace( semicolonFixRegex, ';' );
+		{
+			var styleVal = stylesDef[ style ],
+					stylesText = ( style + ':' + styleVal ).replace( semicolonFixRegex, ';' );
+
+			// Some browsers don't support 'inheirt' property value, leave them intact. (#5242)
+			if ( styleVal == 'inherit' )
+				specialStylesText += stylesText;
+			else
+				stylesText += stylesText;
+		}
 
 		// Browsers make some changes to the style when applying them. So, here
@@ -326,4 +335,6 @@
 		if ( stylesText.length )
 			stylesText = normalizeCssText( stylesText );
+
+		stylesText += specialStylesText;
 
 		// Return it, saving it to the next request.
