| Index: Source/core/css/resolver/AnimatedStyleBuilder.cpp
|
| diff --git a/Source/core/css/resolver/AnimatedStyleBuilder.cpp b/Source/core/css/resolver/AnimatedStyleBuilder.cpp
|
| index 275460a84f64a251faeee610ad055e017b55cafb..b46aaf223c384490f7ed8c660a2268bc6fb72ffc 100644
|
| --- a/Source/core/css/resolver/AnimatedStyleBuilder.cpp
|
| +++ b/Source/core/css/resolver/AnimatedStyleBuilder.cpp
|
| @@ -345,8 +345,7 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property, StyleResolverSt
|
| style->setVisitedLinkColor(toAnimatableColor(value)->visitedLinkColor());
|
| return;
|
| case CSSPropertyFillOpacity:
|
| - // Avoiding a value of 1 forces a layer to be created.
|
| - style->setFillOpacity(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0, nextafterf(1, 0)));
|
| + style->setFillOpacity(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0, 1));
|
| return;
|
| case CSSPropertyFill:
|
| {
|
| @@ -579,13 +578,9 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property, StyleResolverSt
|
| style->setTextStrokeColor(toAnimatableColor(value)->color());
|
| style->setVisitedLinkTextStrokeColor(toAnimatableColor(value)->visitedLinkColor());
|
| return;
|
| - case CSSPropertyWebkitTransform: {
|
| - const TransformOperations& operations = toAnimatableTransform(value)->transformOperations();
|
| - // FIXME: Using identity matrix here when the transform list is empty
|
| - // forces a layer to be created in the presence of a transform animation.
|
| - style->setTransform(operations.size() ? operations : TransformOperations(true));
|
| + case CSSPropertyWebkitTransform:
|
| + style->setTransform(toAnimatableTransform(value)->transformOperations());
|
| return;
|
| - }
|
| case CSSPropertyWebkitTransformOriginX:
|
| style->setTransformOriginX(animatableValueToLength(value, state));
|
| return;
|
|
|