зеркало из https://github.com/mozilla/pjs.git
Bug 339952 - Pattern content is not transformed by viewBox coordinates correctly with patternContentUnits of objectBoundingBox. r=tor,sr=roc
This commit is contained in:
Родитель
d2fc644a78
Коммит
eff69ca8cb
|
@ -664,12 +664,9 @@ nsSVGPatternFrame::ConstructCTM(nsIDOMSVGMatrix **aCTM,
|
|||
|
||||
} else {
|
||||
// No viewBox, construct from the (modified) parent matrix
|
||||
NS_NewSVGMatrix(getter_AddRefs(tempTM),
|
||||
1.0f, 0.0f,
|
||||
0.0f, 1.0f,
|
||||
0.0f, 0.0f);
|
||||
NS_NewSVGMatrix(getter_AddRefs(tempTM));
|
||||
}
|
||||
tempTM->Multiply(tCTM, aCTM);
|
||||
tCTM->Multiply(tempTM, aCTM);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче