Index: Source/core/animation/css/CSSPropertyEquality.cpp |
diff --git a/Source/core/animation/css/CSSPropertyEquality.cpp b/Source/core/animation/css/CSSPropertyEquality.cpp |
index b386ec12cbe9b36fd72d9c899988fba2d8477669..f9bcb186da0f905d30e6e767e152d8a182928a60 100644 |
--- a/Source/core/animation/css/CSSPropertyEquality.cpp |
+++ b/Source/core/animation/css/CSSPropertyEquality.cpp |
@@ -274,8 +274,10 @@ bool CSSPropertyEquality::propertiesEqual(CSSPropertyID prop, const RenderStyle& |
return fillLayersEqual<CSSPropertyWebkitMaskPositionY>(a.maskLayers(), b.maskLayers()); |
case CSSPropertyWebkitMaskSize: |
return fillLayersEqual<CSSPropertyWebkitMaskSize>(a.maskLayers(), b.maskLayers()); |
- case CSSPropertyWebkitPerspective: |
+ case CSSPropertyPerspective: |
return a.perspective() == b.perspective(); |
+ case CSSPropertyPerspectiveOrigin: |
+ return a.perspectiveOriginX() == b.perspectiveOriginX() && a.perspectiveOriginY() == b.perspectiveOriginY(); |
case CSSPropertyWebkitPerspectiveOriginX: |
return a.perspectiveOriginX() == b.perspectiveOriginX(); |
case CSSPropertyWebkitPerspectiveOriginY: |
@@ -283,8 +285,10 @@ bool CSSPropertyEquality::propertiesEqual(CSSPropertyID prop, const RenderStyle& |
case CSSPropertyWebkitTextStrokeColor: |
return a.textStrokeColor().resolve(a.color()) == b.textStrokeColor().resolve(b.color()) |
&& a.visitedLinkTextStrokeColor().resolve(a.color()) == b.visitedLinkTextStrokeColor().resolve(b.color()); |
- case CSSPropertyWebkitTransform: |
+ case CSSPropertyTransform: |
return a.transform() == b.transform(); |
+ case CSSPropertyTransformOrigin: |
+ return a.transformOriginX() == b.transformOriginX() && a.transformOriginY() == b.transformOriginY() && a.transformOriginZ() == b.transformOriginZ(); |
case CSSPropertyWebkitTransformOriginX: |
return a.transformOriginX() == b.transformOriginX(); |
case CSSPropertyWebkitTransformOriginY: |