| Index: Source/core/css/resolver/AnimatedStyleBuilder.cpp
|
| diff --git a/Source/core/css/resolver/AnimatedStyleBuilder.cpp b/Source/core/css/resolver/AnimatedStyleBuilder.cpp
|
| index 952411509e944294238c55022df72ce27ee3a7db..b449e716689f440c7e0111e47c57fab65899432d 100644
|
| --- a/Source/core/css/resolver/AnimatedStyleBuilder.cpp
|
| +++ b/Source/core/css/resolver/AnimatedStyleBuilder.cpp
|
| @@ -64,6 +64,11 @@ unsigned animatableValueToUnsigned(const AnimatableValue* value)
|
| return clampTo<unsigned>(round(toAnimatableNumber(value)->toDouble()));
|
| }
|
|
|
| +unsigned short animatableValueToUnsignedShort(const AnimatableValue* value)
|
| +{
|
| + return clampTo<unsigned short>(round(toAnimatableNumber(value)->toDouble()));
|
| +}
|
| +
|
| LengthBox animatableValueToLengthBox(const AnimatableValue* value, const StyleResolverState& state)
|
| {
|
| const AnimatableLengthBox* animatableLengthBox = toAnimatableLengthBox(value);
|
| @@ -179,6 +184,9 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property, StyleResolverSt
|
| style->setOutlineColor(toAnimatableColor(value)->color());
|
| style->setVisitedLinkOutlineColor(toAnimatableColor(value)->visitedLinkColor());
|
| return;
|
| + case CSSPropertyOutlineWidth:
|
| + style->setOutlineWidth(animatableValueToUnsignedShort(value));
|
| + return;
|
| case CSSPropertyPaddingBottom:
|
| style->setPaddingBottom(animatableValueToLength(value, state));
|
| return;
|
|
|