Index: Source/core/animation/css/CSSAnimations.cpp |
diff --git a/Source/core/animation/css/CSSAnimations.cpp b/Source/core/animation/css/CSSAnimations.cpp |
index 246c4b9e713945f735651574315515af87f624e3..9fdc5fade12fc66905f43aa5d5992d02a9dc9b8c 100644 |
--- a/Source/core/animation/css/CSSAnimations.cpp |
+++ b/Source/core/animation/css/CSSAnimations.cpp |
@@ -79,6 +79,11 @@ CSSPropertyID propertyForAnimation(CSSPropertyID property) |
return CSSPropertyPerspective; |
case CSSPropertyWebkitTransform: |
return CSSPropertyTransform; |
+ case CSSPropertyWebkitPerspectiveOriginX: |
+ case CSSPropertyWebkitPerspectiveOriginY: |
+ if (RuntimeEnabledFeatures::cssTransformsUnprefixedEnabled()) |
+ return CSSPropertyPerspectiveOrigin; |
+ break; |
case CSSPropertyWebkitTransformOriginX: |
case CSSPropertyWebkitTransformOriginY: |
case CSSPropertyWebkitTransformOriginZ: |
@@ -782,7 +787,6 @@ void CSSAnimations::TransitionEventDelegate::onEventCondition(const TimedItem* t |
} |
} |
- |
bool CSSAnimations::isAnimatableProperty(CSSPropertyID property) |
{ |
switch (property) { |
@@ -880,8 +884,6 @@ bool CSSAnimations::isAnimatableProperty(CSSPropertyID property) |
case CSSPropertyWebkitMaskPositionY: |
case CSSPropertyWebkitMaskSize: |
case CSSPropertyPerspective: |
- case CSSPropertyWebkitPerspectiveOriginX: |
- case CSSPropertyWebkitPerspectiveOriginY: |
case CSSPropertyShapeOutside: |
case CSSPropertyShapeMargin: |
case CSSPropertyShapeImageThreshold: |
@@ -893,8 +895,11 @@ bool CSSAnimations::isAnimatableProperty(CSSPropertyID property) |
case CSSPropertyZIndex: |
case CSSPropertyZoom: |
return true; |
+ case CSSPropertyPerspectiveOrigin: |
case CSSPropertyTransformOrigin: |
return RuntimeEnabledFeatures::cssTransformsUnprefixedEnabled(); |
+ case CSSPropertyWebkitPerspectiveOriginX: |
+ case CSSPropertyWebkitPerspectiveOriginY: |
case CSSPropertyWebkitTransformOriginX: |
case CSSPropertyWebkitTransformOriginY: |
case CSSPropertyWebkitTransformOriginZ: |