Index: Source/core/css/resolver/StyleResolver.cpp |
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp |
index 4adccec5c54896cc3d473bc43df7c272289b8b62..3432b192c9f64331e25a23ae38083759bccd1f33 100644 |
--- a/Source/core/css/resolver/StyleResolver.cpp |
+++ b/Source/core/css/resolver/StyleResolver.cpp |
@@ -997,11 +997,14 @@ void StyleResolver::applyAnimatedProperties(StyleResolverState& state, const Ele |
CSSPropertyID property = iter->key; |
if (!isPropertyForPass<pass>(property)) |
continue; |
- RefPtr<CSSValue> value = iter->value->compositeOnto(AnimatableValue::neutralValue())->toCSSValue(); |
+ RefPtr<AnimatableValue> animatableValue = iter->value->compositeOnto(AnimatableValue::neutralValue()); |
+ if (animatableValue->isDeferredSnapshot()) |
+ continue; |
+ RefPtr<CSSValue> cssValue = animatableValue->toCSSValue(); |
if (pass == HighPriorityProperties && property == CSSPropertyLineHeight) |
- state.setLineHeightValue(value.get()); |
+ state.setLineHeightValue(cssValue.get()); |
else |
- applyProperty(state, property, value.get()); |
+ applyProperty(state, property, cssValue.get()); |
} |
} |
} |