Bug 367994 - Map all SVG styles to all non-animation SVG elements r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172590
This commit is contained in:
@@ -3233,8 +3233,7 @@ nsresult PresShell::GoToAnchor(const nsAString& aAnchorName, bool aScroll,
|
||||
}
|
||||
|
||||
// If the target is an animation element, activate the animation
|
||||
if (nsCOMPtr<SVGAnimationElement> animationElement =
|
||||
do_QueryInterface(target)) {
|
||||
if (auto* animationElement = SVGAnimationElement::FromNode(target.get())) {
|
||||
animationElement->ActivateByHyperlink();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user