Index: Source/core/rendering/RenderTheme.cpp |
diff --git a/Source/core/rendering/RenderTheme.cpp b/Source/core/rendering/RenderTheme.cpp |
index a23981557e2f02461f5442a86c1f64212808b39c..35d807a4664249512249180516b2bf18e73cd56c 100644 |
--- a/Source/core/rendering/RenderTheme.cpp |
+++ b/Source/core/rendering/RenderTheme.cpp |
@@ -604,11 +604,11 @@ bool RenderTheme::shouldDrawDefaultFocusRing(RenderObject* renderer) const |
{ |
if (supportsFocusRing(renderer->style())) |
return false; |
- if (!renderer->style()->hasAppearance()) |
- return true; |
Node* node = renderer->node(); |
if (!node) |
return true; |
+ if (!renderer->style()->hasAppearance() && !node->isLink()) |
+ return true; |
// We can't use RenderTheme::isFocused because outline:auto might be |
// specified to non-:focus rulesets. |
if (node->focused() && !node->shouldHaveFocusAppearance()) |