Bug 1168664 - Stop mistakenly using the transform reference box's width to calculate the Z component in ProcessMatrix3D. r=mattwoodrow

This commit is contained in:
Jonathan Watt 2015-05-25 11:13:42 +01:00
parent a7517b7941
commit 9a09ffdd3e

View File

@ -266,8 +266,7 @@ ProcessMatrix3D(gfx3DMatrix& aMatrix,
&aRefBox, &TransformReferenceBox::Height);
temp._43 = ProcessTranslatePart(aData->Item(15),
aContext, aPresContext, aCanStoreInRuleTree,
&aRefBox, &TransformReferenceBox::Height);
// XXXjwatt why are we using TransformReferenceBox::Height for the z compontent?!
nullptr);
aMatrix.PreMultiply(temp);
}