Index: _source/plugins/styles/plugin.js
===================================================================
--- _source/plugins/styles/plugin.js	(revision 5288)
+++ _source/plugins/styles/plugin.js	Thu Mar 25 14:46:12 CST 2010
@@ -312,20 +312,31 @@
 		stylesDef = styleDefinition.styles;
 
 		// Builds the StyleText.
+		var stylesText = ( styleDefinition.attributes && styleDefinition.attributes[ 'style' ] ) || '',
+				specialStylesText = '';
 
-		var stylesText = ( styleDefinition.attributes && styleDefinition.attributes[ 'style' ] ) || '';
-
 		if ( stylesText.length )
 			stylesText = stylesText.replace( semicolonFixRegex, ';' );
 
 		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
 		// we normalize it to the browser format.
 		if ( stylesText.length )
 			stylesText = normalizeCssText( stylesText );
 
+		stylesText += specialStylesText;
+
 		// Return it, saving it to the next request.
 		return ( styleDefinition._ST = stylesText );
 	};
