Fix bug 373293, Style attribute is "transparent;" (missing property name). r+sr=dbaron

This commit is contained in:
jruderman%hmc.edu 2007-03-09 09:43:55 +00:00
parent ce61d94f9d
commit b4a3b32e02

View File

@ -407,7 +407,7 @@ nsCSSDeclaration::AppendCSSValueToString(nsCSSProperty aProperty,
if (color == NS_RGBA(0, 0, 0, 0)) {
// Use the strictest match for 'transparent' so we do correct
// round-tripping of all other rgba() values.
aResult.AssignLiteral("transparent");
aResult.AppendLiteral("transparent");
} else {
nsAutoString tmpStr;
PRUint8 a = NS_GET_A(color);