Open Bug 802890 Opened 12 years ago Updated 2 years ago

SVG/SMIL: nsSVGAnimationElement::UpdateHrefTarget should probably use ResetWithId instead of Reset()

Categories

(Core :: SVG, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

Details

Just realized that targeted <animate> elements (which we've supported since bug 491080 in 2009) should probably be using nsReferencedElement::ResetWithId() (added in bug 474743 in 2010), instead of calling Reset() with a custom-created URI. As noted at http://www.w3.org/TR/SVG11/animate.html#HrefAttribute , "The target element must be part of the current SVG document fragment", which means ResetWithId() is a reasonable thing to use. (It assumes same-document.)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.