Index: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
index 0237d9f11e2826139c0cd866ee44d166d4e8cd59..3a4c9c16bf4a3f15e8062118e986dcb2c32f61fe 100644 |
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
@@ -2205,6 +2205,12 @@ const CSSValue* ComputedStyleCSSValueMapping::get( |
return valueForShadowList(style.boxShadow(), style, true); |
case CSSPropertyCaptionSide: |
return CSSIdentifierValue::create(style.captionSide()); |
+ case CSSPropertyCaretColor: |
+ if (style.caretColor().isCurrentColor()) |
+ return CSSIdentifierValue::create(CSSValueCurrentcolor); |
+ if (style.caretColor().isAutoColor()) |
+ return CSSIdentifierValue::create(CSSValueAuto); |
+ return CSSColorValue::create(style.caretColor().color().rgb()); |
case CSSPropertyClear: |
return CSSIdentifierValue::create(style.clear()); |
case CSSPropertyColor: |