| Index: Source/core/svg/SVGElement.cpp
|
| diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
|
| index 1e1ef4c08fe945a52b55c3351cbf7333fe4d71e8..571bfc39721e104e1b9316f1d0bbfef305a65320 100644
|
| --- a/Source/core/svg/SVGElement.cpp
|
| +++ b/Source/core/svg/SVGElement.cpp
|
| @@ -602,6 +602,20 @@ void SVGElement::parseAttribute(const QualifiedName& name, const AtomicString& v
|
| }
|
| }
|
|
|
| +void SVGElement::parseAttributeNew(const QualifiedName& name, const AtomicString& value)
|
| +{
|
| + RefPtr<SVGAnimatedPropertyBase> property = propertyFromAttribute(name);
|
| + if (property) {
|
| + SVGParsingError parseError = NoError;
|
| + property->setBaseValueAsString(value, parseError);
|
| + reportAttributeParsingError(parseError, name, value);
|
| +
|
| + return;
|
| + }
|
| +
|
| + SVGElement::parseAttribute(name, value);
|
| +}
|
| +
|
| typedef HashMap<QualifiedName, AnimatedPropertyType> AttributeToPropertyTypeMap;
|
| AnimatedPropertyType SVGElement::animatedPropertyTypeForCSSAttribute(const QualifiedName& attributeName)
|
| {
|
|
|