Index: Source/core/svg/SVGAElement.cpp |
diff --git a/Source/core/svg/SVGAElement.cpp b/Source/core/svg/SVGAElement.cpp |
index 23b39ced0d67dbc77428bdd6e7cf5fedcd62c5e5..eedad082fb2396ecc7e6e52d7dfb20b6663b2382 100644 |
--- a/Source/core/svg/SVGAElement.cpp |
+++ b/Source/core/svg/SVGAElement.cpp |
@@ -135,7 +135,7 @@ void SVGAElement::svgAttributeChanged(const QualifiedName& attrName) |
// as none of the other properties changes the linking behaviour for our <a> element. |
if (SVGURIReference::isKnownAttribute(attrName)) { |
bool wasLink = isLink(); |
- setIsLink(!hrefCurrentValue().isNull()); |
+ setIsLink(!hrefCurrentValue().isNull() && !mustProhibitLinks(this)); |
if (wasLink != isLink()) |
setNeedsStyleRecalc(); |