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 b772c04b72b73452db4e884edd2083f41b03a0e5..fb17ff7ff1f90aaca15378ef4ab4cb34b7b91343 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
@@ -1964,7 +1964,15 @@ bool StyleResolver::HasAuthorBorder(const StyleResolverState& state) { |
cached_ua_style->bottom_left_ == |
state.Style()->BorderBottomLeftRadius() && |
cached_ua_style->bottom_right_ == |
- state.Style()->BorderBottomRightRadius())); |
+ state.Style()->BorderBottomRightRadius()) || |
+ !(cached_ua_style->border_left_width == |
+ state.Style()->BorderLeftWidth() && |
+ cached_ua_style->border_right_width == |
+ state.Style()->BorderRightWidth() && |
+ cached_ua_style->border_top_width == |
+ state.Style()->BorderTopWidth() && |
+ cached_ua_style->border_bottom_width == |
+ state.Style()->BorderBottomWidth())); |
} |
void StyleResolver::ApplyCallbackSelectors(StyleResolverState& state) { |