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

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

Issue 2537373005: [css-ui] Make caret-color animatable (Closed)
Patch Set: Patch for landing adding TODO Created 4 years 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
Index: third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp b/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
index d64c35f2942aff6a43716f039e6e339de6747fbc..710af227536c2c89fc686705c72fb0a2f8e9d38f 100644
--- a/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
@@ -421,6 +421,11 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property,
case CSSPropertyBoxShadow:
style->setBoxShadow(toAnimatableShadow(value)->getShadowList());
return;
+ case CSSPropertyCaretColor:
+ style->setCaretColor(toAnimatableColor(value)->getColor());
+ style->setVisitedLinkCaretColor(
+ toAnimatableColor(value)->visitedLinkColor());
+ return;
case CSSPropertyClip:
style->setClip(animatableValueToLengthBox(value, state));
return;
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleAutoColor.h ('k') | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698