Index: LayoutTests/animations/svg-attribute-interpolation/svg-pathLength-interpolation.html |
diff --git a/LayoutTests/animations/svg-attribute-interpolation/svg-pathLength-interpolation.html b/LayoutTests/animations/svg-attribute-interpolation/svg-pathLength-interpolation.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ea2db3cca4ce031842bc842b7b4b5f1661857050 |
--- /dev/null |
+++ b/LayoutTests/animations/svg-attribute-interpolation/svg-pathLength-interpolation.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<html> |
+<body> |
+<template id="target-template"> |
+<svg xmlns="http://www.w3.org/2000/svg" width="90" height="90"> |
+<path d="M 100 200 L 300 400" class="target" /> |
+</svg> |
+</template> |
+<script src="resources/interpolation-test.js"></script> |
+<script> |
+'use strict'; |
+assertAttributeInterpolation({ |
+ property: 'pathLength', |
+ from: '1', |
+ to: '6' |
+}, [ |
+ {at: -0.4, is: 0}, |
+ {at: 0, is: 1}, |
+ {at: 0.2, is: 2}, |
+ {at: 0.6, is: 4}, |
+ {at: 1, is: 6}, |
+ {at: 1.4, is: 8} |
+]); |
+</script> |
+</body> |
+</html> |