SVGTextPositioningElement::SVGTextPositioningElement(const QualifiedName& tagName, Document* document)
: SVGTextContentElement(tagName, document)
- , m_rotate(SVGNumberList::create(SVGNames::rotateAttr))
{
}
newList.parse(attr->value(), LengthModeHeight);
detachAnimatedDyListWrappers(newList.size());
dyBaseValue() = newList;
- } else if (attr->name() == SVGNames::rotateAttr)
- rotateBaseValue()->parse(attr->value());
- else
+ } else if (attr->name() == SVGNames::rotateAttr) {
+ SVGNumberList newList;
+ newList.parse(attr->value());
+ detachAnimatedRotateListWrappers(newList.size());
+ rotateBaseValue() = newList;
+ } else
SVGTextContentElement::parseMappedAttribute(attr);
}