| Index: sky/engine/core/css/CSSGradientValue.cpp
|
| diff --git a/sky/engine/core/css/CSSGradientValue.cpp b/sky/engine/core/css/CSSGradientValue.cpp
|
| index ec386f8fdc21c4a5d2648ff4d18ebe2f09b7ba54..a5b32c1ad4240528259afc466001bd9bff46e658 100644
|
| --- a/sky/engine/core/css/CSSGradientValue.cpp
|
| +++ b/sky/engine/core/css/CSSGradientValue.cpp
|
| @@ -408,7 +408,7 @@ static float positionFromValue(CSSPrimitiveValue* value, const CSSToLengthConver
|
| }
|
|
|
| if (value->isNumber())
|
| - return origin + sign * value->getFloatValue() * conversionData.zoom();
|
| + return origin + sign * value->getFloatValue();
|
|
|
| if (value->isPercentage())
|
| return origin + sign * value->getFloatValue() / 100.f * edgeDistance;
|
| @@ -919,7 +919,7 @@ float CSSRadialGradientValue::resolveRadius(CSSPrimitiveValue* radius, const CSS
|
| {
|
| float result = 0;
|
| if (radius->isNumber()) // Can the radius be a percentage?
|
| - result = radius->getFloatValue() * conversionData.zoom();
|
| + result = radius->getFloatValue();
|
| else if (widthOrHeight && radius->isPercentage())
|
| result = *widthOrHeight * radius->getFloatValue() / 100;
|
| else
|
|
|