Index: LayoutTests/svg/animations/script-tests/animate-currentColor.js |
diff --git a/LayoutTests/svg/animations/script-tests/animate-currentColor.js b/LayoutTests/svg/animations/script-tests/animate-currentColor.js |
index 7e3a68ee297ec96325e011c4ceeec524dc89fdb6..48f1850b9ca139aa99322cbd87dcfac331d19ac3 100644 |
--- a/LayoutTests/svg/animations/script-tests/animate-currentColor.js |
+++ b/LayoutTests/svg/animations/script-tests/animate-currentColor.js |
@@ -10,7 +10,7 @@ rect.setAttribute("fill", "red"); |
rect.setAttribute("color", "green"); |
rect.setAttribute("onclick", "executeTest()"); |
-var animateCurrentColor = createSVGElement("animateColor"); |
+var animateCurrentColor = createSVGElement("animate"); |
animateCurrentColor.setAttribute("id", "animateCurrentColor"); |
animateCurrentColor.setAttribute("attributeName", "fill"); |
animateCurrentColor.setAttribute("from", "red"); |