Index: third_party/WebKit/LayoutTests/animations/svg-attribute-interpolation/svg-dx-dy-number-interpolation.html |
diff --git a/third_party/WebKit/LayoutTests/animations/svg-attribute-interpolation/svg-dx-dy-interpolation.html b/third_party/WebKit/LayoutTests/animations/svg-attribute-interpolation/svg-dx-dy-number-interpolation.html |
similarity index 60% |
rename from third_party/WebKit/LayoutTests/animations/svg-attribute-interpolation/svg-dx-dy-interpolation.html |
rename to third_party/WebKit/LayoutTests/animations/svg-attribute-interpolation/svg-dx-dy-number-interpolation.html |
index c9c659d19963e7e25db09aafc212e16e755ac286..924d6d4d7be08c8684d53d66d55698f5684cd995 100644 |
--- a/third_party/WebKit/LayoutTests/animations/svg-attribute-interpolation/svg-dx-dy-interpolation.html |
+++ b/third_party/WebKit/LayoutTests/animations/svg-attribute-interpolation/svg-dx-dy-number-interpolation.html |
@@ -2,9 +2,9 @@ |
<html> |
<body> |
<template id="target-template"> |
-<svg width="90" height="90"> |
-<text class="target">123</text> |
-</svg> |
+ <svg width="0" height="0"> |
+ <feOffset class="target"></feOffset> |
+ </svg> |
</template> |
<script src="resources/interpolation-test.js"></script> |
<script> |
@@ -12,26 +12,27 @@ |
assertAttributeInterpolation({ |
property: 'dx', |
from: '1', |
- to: '6' |
+ to: '6', |
}, [ |
{at: -0.4, is: '-1'}, |
{at: 0, is: '1'}, |
{at: 0.2, is: '2'}, |
{at: 0.6, is: '4'}, |
{at: 1, is: '6'}, |
- {at: 1.4, is: '8'} |
+ {at: 1.4, is: '8'}, |
]); |
+ |
assertAttributeInterpolation({ |
property: 'dy', |
- from: '1 -2', |
- to: '6 -12' |
+ from: '1', |
+ to: '6', |
}, [ |
- {at: -0.4, is: '-1 2'}, |
- {at: 0, is: '1 -2'}, |
- {at: 0.2, is: '2 -4'}, |
- {at: 0.6, is: '4 -8'}, |
- {at: 1, is: '6 -12'}, |
- {at: 1.4, is: '8 -16'} |
+ {at: -0.4, is: '-1'}, |
+ {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> |