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 f6e17563ed8abefe17f8132ed0a6433b4b2c671c..b772c04b72b73452db4e884edd2083f41b03a0e5 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
@@ -1956,7 +1956,15 @@ bool StyleResolver::HasAuthorBackground(const StyleResolverState& state) { |
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 != state.Style()->Border() || |
+ !(cached_ua_style->top_left_ == |
+ state.Style()->BorderTopLeftRadius() && |
+ cached_ua_style->top_right_ == |
+ state.Style()->BorderTopRightRadius() && |
+ cached_ua_style->bottom_left_ == |
+ state.Style()->BorderBottomLeftRadius() && |
+ cached_ua_style->bottom_right_ == |
+ state.Style()->BorderBottomRightRadius())); |
} |
void StyleResolver::ApplyCallbackSelectors(StyleResolverState& state) { |