Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Unified Diff: Source/core/css/resolver/AnimatedStyleBuilder.cpp

Issue 25132005: Web Animations CSS: Handle border-spacing property (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove text Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/animation/css/CSSAnimatableValueFactory.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/AnimatedStyleBuilder.cpp
diff --git a/Source/core/css/resolver/AnimatedStyleBuilder.cpp b/Source/core/css/resolver/AnimatedStyleBuilder.cpp
index 8959a63b5a92248dbccf6588b9509f82fb4b5137..d58c95bcd2088bff8dedbb46df52d739f387c3f9 100644
--- a/Source/core/css/resolver/AnimatedStyleBuilder.cpp
+++ b/Source/core/css/resolver/AnimatedStyleBuilder.cpp
@@ -213,6 +213,12 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property, StyleResolverSt
case CSSPropertyTop:
style->setTop(animatableValueToLength(value, state));
return;
+ case CSSPropertyWebkitBorderHorizontalSpacing:
+ style->setHorizontalBorderSpacing(animatableValueRoundClampTo<unsigned short>(value));
+ return;
+ case CSSPropertyWebkitBorderVerticalSpacing:
+ style->setVerticalBorderSpacing(animatableValueRoundClampTo<unsigned short>(value));
+ return;
case CSSPropertyWebkitColumnRuleColor:
style->setColumnRuleColor(toAnimatableColor(value)->color());
style->setVisitedLinkColumnRuleColor(toAnimatableColor(value)->visitedLinkColor());
« no previous file with comments | « Source/core/animation/css/CSSAnimatableValueFactory.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698