mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 13:45:46 +00:00
Bug 675470 - Handle eCSSKeyword_interpolatematrix in AddTransformLists. r=dbaron
This commit is contained in:
parent
249b0f753d
commit
601ed53b80
@ -1221,7 +1221,7 @@ AddTransformLists(const nsCSSValueList* aList1, double aCoeff1,
|
||||
|
||||
nsCSSKeyword tfunc = nsStyleTransformMatrix::TransformFunctionOf(a1);
|
||||
nsRefPtr<nsCSSValue::Array> arr;
|
||||
if (tfunc != eCSSKeyword_matrix) {
|
||||
if (tfunc != eCSSKeyword_matrix && tfunc != eCSSKeyword_interpolatematrix) {
|
||||
arr = AppendTransformFunction(tfunc, resultTail);
|
||||
}
|
||||
|
||||
@ -1327,10 +1327,8 @@ AddTransformLists(const nsCSSValueList* aList1, double aCoeff1,
|
||||
|
||||
break;
|
||||
}
|
||||
case eCSSKeyword_matrix: {
|
||||
NS_ABORT_IF_FALSE(a1->Count() == 7, "unexpected count");
|
||||
NS_ABORT_IF_FALSE(a2->Count() == 7, "unexpected count");
|
||||
|
||||
case eCSSKeyword_matrix:
|
||||
case eCSSKeyword_interpolatematrix: {
|
||||
// FIXME: If the matrix contains only numbers then we could decompose
|
||||
// here. We can't do this for matrix3d though, so it's probably
|
||||
// best to stay consistent.
|
||||
|
Loading…
x
Reference in New Issue
Block a user