| Index: Source/core/svg/SVGAElement.cpp
|
| diff --git a/Source/core/svg/SVGAElement.cpp b/Source/core/svg/SVGAElement.cpp
|
| index 23b39ced0d67dbc77428bdd6e7cf5fedcd62c5e5..00b2e95c64096f78be2c76ee438a76a3d57fd7b2 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() && !shouldProhibitLinks(this));
|
|
|
| if (wasLink != isLink())
|
| setNeedsStyleRecalc();
|
|
|