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

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

Issue 2520873002: [css-ui] Add support for caret-color property (Closed)
Patch Set: Fix tests that were listing all the CSS properties Created 4 years, 1 month 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 8849d8fe40384822e5948956b6518f61fca503ad..aa6ecea44672c57f44838b9e85cd0a81c1ca3d71 100644
--- a/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
@@ -411,6 +411,11 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property,
case CSSPropertyBoxShadow:
style->setBoxShadow(toAnimatableShadow(value)->getShadowList());
return;
+ case CSSPropertyCaretColor:
yosin_UTC9 2016/11/22 02:25:10 Nice! (^_^)b
+ style->setCaretColor(toAnimatableColor(value)->getColor());
+ style->setVisitedLinkCaretColor(
+ toAnimatableColor(value)->visitedLinkColor());
+ return;
case CSSPropertyClip:
style->setClip(animatableValueToLengthBox(value, state));
return;

Powered by Google App Engine
This is Rietveld 408576698