mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 477996 - scale transforms are not serialised correctly. r+sr=roc
This commit is contained in:
parent
b52fe48b3b
commit
de0cb37032
@ -144,7 +144,7 @@ nsSVGTransform::GetValueString(nsAString& aValue)
|
||||
float sx, sy;
|
||||
mMatrix->GetA(&sx);
|
||||
mMatrix->GetD(&sy);
|
||||
if (sy != 0.0f)
|
||||
if (sy != sx)
|
||||
nsTextFormatter::snprintf(buf, sizeof(buf)/sizeof(PRUnichar),
|
||||
NS_LITERAL_STRING("scale(%g, %g)").get(), sx, sy);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user