Bug 973187: Fix typo (checking mRadiusX twice and not checking mRadiusY) in nsStyleGradient::HasCalc(). r=dbaron

This commit is contained in:
Maks Naumov 2014-02-16 16:05:10 -08:00
parent a22aa08933
commit ba8f8a6ac8

View File

@ -1543,7 +1543,7 @@ nsStyleGradient::HasCalc()
return true;
}
return mBgPosX.IsCalcUnit() || mBgPosY.IsCalcUnit() || mAngle.IsCalcUnit() ||
mRadiusX.IsCalcUnit() || mRadiusX.IsCalcUnit();
mRadiusX.IsCalcUnit() || mRadiusY.IsCalcUnit();
}
// --------------------