Index: Source/core/svg/SVGElement.cpp |
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp |
index 76cf87009a644ddbb79db1232de8c81080ae5831..d0648dccdef1c8a04f4d95ee009536bf63d10b3a 100644 |
--- a/Source/core/svg/SVGElement.cpp |
+++ b/Source/core/svg/SVGElement.cpp |
@@ -58,14 +58,9 @@ |
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) |
propertyId = CSSPropertyWebkitTransformOrigin; // cssPropertyID("-webkit-transform-origin") |
- if (propertyId == CSSPropertyTransformOrigin) { |
- ASSERT(RuntimeEnabledFeatures::cssTransformsUnprefixedEnabled()); |
- propertyId = CSSPropertyWebkitTransformOrigin; |
- } |
ASSERT(propertyId > 0); |
propertyNameToIdMap->set(attrName.localName().impl(), propertyId); |
} |