| Index: Source/core/svg/SVGElement.cpp
|
| diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
|
| index 5e5638a29aa28af1b4792f42334b14faa1760776..2d6d693961d68ff5131d7dbad0684ca47b81990c 100644
|
| --- a/Source/core/svg/SVGElement.cpp
|
| +++ b/Source/core/svg/SVGElement.cpp
|
| @@ -950,6 +950,17 @@ void SVGElement::finishParsingChildren()
|
| sendSVGLoadEventIfPossible();
|
| }
|
|
|
| +bool SVGElement::childShouldCreateRenderer(const Node& child) const
|
| +{
|
| + if (child.hasTagName(SVGNames::textPathTag)
|
| +#if ENABLE(SVG_FONTS)
|
| + || child.hasTagName(SVGNames::altGlyphTag)
|
| +#endif
|
| + || child.hasTagName(SVGNames::tspanTag))
|
| + return false;
|
| + return child.isSVGElement();
|
| +}
|
| +
|
| void SVGElement::attributeChanged(const QualifiedName& name, const AtomicString& newValue, AttributeModificationReason)
|
| {
|
| Element::attributeChanged(name, newValue);
|
|
|