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 5a8fa7c70e
commit 0593330a35

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();
}
// --------------------