Index: LayoutTests/svg/animations/script-tests/animate-marker-orient-from-auto-to-auto-start-reverse.js |
diff --git a/LayoutTests/svg/animations/script-tests/animate-marker-orient-from-angle-to-auto.js b/LayoutTests/svg/animations/script-tests/animate-marker-orient-from-auto-to-auto-start-reverse.js |
similarity index 91% |
copy from LayoutTests/svg/animations/script-tests/animate-marker-orient-from-angle-to-auto.js |
copy to LayoutTests/svg/animations/script-tests/animate-marker-orient-from-auto-to-auto-start-reverse.js |
index e4b91c30f00f1300ab75514787c4df86c231ce5a..58b36703486c31f8279455588bfbea3a9b629e9c 100644 |
--- a/LayoutTests/svg/animations/script-tests/animate-marker-orient-from-angle-to-auto.js |
+++ b/LayoutTests/svg/animations/script-tests/animate-marker-orient-from-auto-to-auto-start-reverse.js |
@@ -1,4 +1,4 @@ |
-description("Animate SVGMarkerElement orientAttr from an angle to auto"); |
+description("Animate SVGMarkerElement orientAttr from auto to auto-start-reverse"); |
createSVGTestCase(); |
// Setup test document |
@@ -38,8 +38,8 @@ animate1.setAttribute("id", "animation"); |
animate1.setAttribute("attributeName", "orient"); |
animate1.setAttribute("begin", "path.click"); |
animate1.setAttribute("dur", "4s"); |
-animate1.setAttribute("from", "90deg"); |
-animate1.setAttribute("to", "auto"); |
+animate1.setAttribute("from", "auto"); |
+animate1.setAttribute("to", "auto-start-reverse"); |
animate1.setAttribute("fill", "freeze"); |
marker.appendChild(animate1); |
@@ -53,10 +53,10 @@ function sample1() { |
} |
function sample2() { |
- shouldBeCloseEnough("marker.orientAngle.animVal.value", "90"); |
+ shouldBeCloseEnough("marker.orientAngle.animVal.value", "0"); |
shouldBe("marker.orientAngle.baseVal.value", "0"); |
- shouldBe("marker.orientType.animVal", "SVGMarkerElement.SVG_MARKER_ORIENT_ANGLE"); |
+ shouldBe("marker.orientType.animVal", "SVGMarkerElement.SVG_MARKER_ORIENT_AUTO"); |
shouldBe("marker.orientType.baseVal", "SVGMarkerElement.SVG_MARKER_ORIENT_ANGLE"); |
} |
@@ -64,7 +64,7 @@ function sample3() { |
shouldBeCloseEnough("marker.orientAngle.animVal.value", "0"); |
shouldBe("marker.orientAngle.baseVal.value", "0"); |
- shouldBe("marker.orientType.animVal", "SVGMarkerElement.SVG_MARKER_ORIENT_AUTO"); |
+ shouldBe("marker.orientType.animVal", "SVGMarkerElement.SVG_MARKER_ORIENT_UNKNOWN"); |
shouldBe("marker.orientType.baseVal", "SVGMarkerElement.SVG_MARKER_ORIENT_ANGLE"); |
} |