void SVGTRefElement::updateReferencedText() { Element* targetElement = ownerDocument()->getElementById(SVGURIReference::getTarget(href())); SVGElement* target = svg_dynamic_cast(targetElement); if (target) { ExceptionCode ignore = 0; setTextContent(target->textContent(), ignore); } }