Index: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
index 64a30c8ce86d6615fe4203866266608be207bc10..d9f82ce8abcee4716cf8d16155ba274af5860924 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
@@ -1957,6 +1957,26 @@ bool StyleResolver::HasAuthorBorder(const StyleResolverState& state) { |
const CachedUAStyle* cached_ua_style = state.GetCachedUAStyle(); |
return cached_ua_style && |
(cached_ua_style->border != state.Style()->Border() || |
+ (cached_ua_style->border_left_color != |
+ state.Style()->VisitedDependentColor( |
+ CSSPropertyBorderLeftColor) || |
+ cached_ua_style->border_right_color != |
+ state.Style()->VisitedDependentColor( |
+ CSSPropertyBorderRightColor) || |
+ cached_ua_style->border_top_color != |
+ state.Style()->VisitedDependentColor( |
+ CSSPropertyBorderTopColor) || |
+ cached_ua_style->border_bottom_color != |
+ state.Style()->VisitedDependentColor( |
+ CSSPropertyBorderBottomColor)) || |
+ (cached_ua_style->border_left_color_is_current_color != |
+ state.Style()->BorderLeftColorIsCurrentColor() || |
+ cached_ua_style->border_right_color_is_current_color != |
+ state.Style()->BorderRightColorIsCurrentColor() || |
+ cached_ua_style->border_top_color_is_current_color != |
+ state.Style()->BorderTopColorIsCurrentColor() || |
+ cached_ua_style->border_bottom_color_is_current_color != |
+ state.Style()->BorderBottomColorIsCurrentColor()) || |
(cached_ua_style->border_left_width != |
state.Style()->BorderLeftWidth() || |
cached_ua_style->border_right_width != |