| Index: Source/core/svg/SVGElement.cpp
|
| diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
|
| index e5ce7a6c412f594d6c9bff412dddca7f1bcfe217..1e9e5b0f3676a563c08b6c5956ece3cf10093e87 100644
|
| --- a/Source/core/svg/SVGElement.cpp
|
| +++ b/Source/core/svg/SVGElement.cpp
|
| @@ -58,9 +58,13 @@ using namespace SVGNames;
|
| void mapAttributeToCSSProperty(HashMap<StringImpl*, CSSPropertyID>* propertyNameToIdMap, const QualifiedName& attrName)
|
| {
|
| // FIXME: when CSS supports "transform-origin" the special case for transform_originAttr can be removed.
|
| + // FIXME: It's not clear the above is strictly true, as -webkit-transform-origin has non-standard behavior.
|
| CSSPropertyID propertyId = cssPropertyID(attrName.localName());
|
| - if (!propertyId && attrName == transform_originAttr)
|
| + if (!propertyId && attrName == transform_originAttr) {
|
| propertyId = CSSPropertyWebkitTransformOrigin; // cssPropertyID("-webkit-transform-origin")
|
| + } else if (propertyId == CSSPropertyTransformOrigin) {
|
| + propertyId = CSSPropertyWebkitTransformOrigin;
|
| + }
|
| ASSERT(propertyId > 0);
|
| propertyNameToIdMap->set(attrName.localName().impl(), propertyId);
|
| }
|
|
|