Index: Source/core/rendering/style/BasicShapes.cpp |
diff --git a/Source/core/rendering/style/BasicShapes.cpp b/Source/core/rendering/style/BasicShapes.cpp |
index 18293efd9397594ab1fb82c2f47f2cbe49f6cb17..092f06e09f94760de2eb8fc853939c7eb453b6d4 100644 |
--- a/Source/core/rendering/style/BasicShapes.cpp |
+++ b/Source/core/rendering/style/BasicShapes.cpp |
@@ -45,7 +45,8 @@ bool BasicShape::canBlend(const BasicShape* other) const |
// Just polygons with same number of vertices can be animated. |
if (type() == BasicShape::BasicShapePolygonType |
- && static_cast<const BasicShapePolygon*>(this)->values().size() != static_cast<const BasicShapePolygon*>(other)->values().size()) |
+ && (static_cast<const BasicShapePolygon*>(this)->values().size() != static_cast<const BasicShapePolygon*>(other)->values().size() |
+ || static_cast<const BasicShapePolygon*>(this)->windRule() != static_cast<const BasicShapePolygon*>(other)->windRule())) |
return false; |
// Circles with keywords for radii or center coordinates cannot be animated. |