| Index: Source/core/css/resolver/StyleResolver.cpp
|
| diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
|
| index 5a19825381c5fdba3d64aa00c02bfffd820dfbb0..29dee963928160f53edc68d0fceeb90a940a67a2 100644
|
| --- a/Source/core/css/resolver/StyleResolver.cpp
|
| +++ b/Source/core/css/resolver/StyleResolver.cpp
|
| @@ -996,11 +996,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());
|
| }
|
| }
|
| }
|
|
|