mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Fix bug 373293, Style attribute is "transparent;" (missing property name). r+sr=dbaron
This commit is contained in:
parent
ce61d94f9d
commit
b4a3b32e02
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user