void SVGStyledTransformableElement::parseMappedAttribute(Attribute* attr) { if (SVGTransformable::isKnownAttribute(attr->name())) { SVGTransformList newList; if (!SVGTransformable::parseTransformAttribute(newList, attr->value())) newList.clear(); detachAnimatedTransformListWrappers(newList.size()); setTransformBaseValue(newList); } else SVGStyledLocatableElement::parseMappedAttribute(attr); }
void SVGGraphicsElement::parseAttribute(const QualifiedName& name, const AtomicString& value) { if (name == SVGNames::transformAttr) { SVGTransformListValues newList; newList.parse(value); detachAnimatedTransformListWrappers(newList.size()); setTransformBaseValue(newList); return; } SVGElement::parseAttribute(name, value); SVGTests::parseAttribute(name, value); }
void SVGGraphicsElement::parseAttribute(const QualifiedName& name, const AtomicString& value) { if (!isSupportedAttribute(name)) { SVGElement::parseAttribute(name, value); return; } if (name == SVGNames::transformAttr) { SVGTransformList newList; newList.parse(value); detachAnimatedTransformListWrappers(newList.size()); setTransformBaseValue(newList); return; } if (SVGTests::parseAttribute(name, value)) return; ASSERT_NOT_REACHED(); }